DEV Community 👩‍💻👨‍💻


Posted on

Reading Snippets [14]

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'.

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.