Get Lanyrd on your mobile (iPhone, Android and more) - check it out here

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

A session at Reject.js

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 :)

About the speaker

This person is speaking at this event.
Morgan Roderick

Freelance frontend programmer, organiser of @copenhagenjs, /*jslint white:true*/ bio from Twitter

Coverage of this session

Sign in to add slides, notes or videos to this session

Reject.js

Germany Germany, Berlin

29th September 2011

Tell your friends!

When

Time 10:10am10:40am CET

Date Thu 29th September 2011

Short URL

lanyrd.com/shyyw

Official event site

berlinjs.org

View the schedule

Topics

See something wrong?

Report an issue with this session