Main Content

Closures, this, call and apply — an attempt at an explanation

A talk by Morgan Roderick at RejectJS

About the Talk

September 29, 2011 6:10 AM

GLS-Sprachenschule, Kastanienallee 82 in Berlin-Mitte.

GLS-Sprachenschule, Kastanienallee 82 in Berlin-Mitte.

Closures, 'this', call and apply are hard topics to grasp for newcomers to JavaScript.

In this talk I will try to explain (with illustrations) what closures are, what 'this' is and how it relates to closures, how callbacks can be confusing and how confusion can be avoided.

Once you're comfortable and think you've understood 'this', I'll throw call and apply at you. When we emerge on the other side, there will be unicorns and pixie dust :)

Ratings and Recommendations

Avg. Rating

Average based
on 1 rating

comments powered by Disqus