DEV Community


Reading Snippets [14]

Passionate about building products that people love.
・1 min read

The 'this' keyword usually points to an object rather than a function. It is easy to fall under the misconception that it is referring to the function itself. The object that 'this' affects is dependant on how the function in which 'this is type' is called.

Special thanks to Kyle Simpson for the revelation in his book, 'You Don't Know JS'.

Discussion (0)