Skip to main content Accessibility Feedback

Understanding “this” in JavaScript

If you’re like me, you probably find this in JavaScript a bit weird and confusing.

Fortunately, my buddy Zac Gordon from JavaScript for WordPress has put together a 3-part video series—for free!— explaining what is, how it works, when to use it, and some important gotchas.

Here’s the first video. Click through to his article to see all three.

❄️ Black Friday Sale! Make 2018 the year you master JavaScript. From now through Monday, save up to 50% on my top JavaScript learning resources.

Have any questions or comments about this post? Email me at or contact me on Twitter at @ChrisFerdinandi.

Get Daily Developer Tips