Skip to content

Instantly share code, notes, and snippets.

@souparno
souparno / Example of call and apply
Created Jan 31, 2014
Example of call and apply
View Example of call and apply
Articles
Blog
About
Function.apply and Function.call in JavaScript
Thursday, July 5, 2007
24 comments
Tweet
In order to explain how the createDelegate function works in the last post, we have to understand JavaScript closures and Function.apply(). The apply() method is the easiest subject to tackle, so we'll start there and work up.