This commit is contained in:
Ryan McGrath 2011-02-18 04:25:06 -05:00
commit 5ed915c6c5
8 changed files with 329 additions and 0 deletions

8
events/listing_1.js Normal file
View file

@ -0,0 +1,8 @@
var x = 1;
var foo = function(callbackfn) {
return callbackfn(x * 2);
};
foo(function(x) {
console.log(x);
});