Quick, what's the difference between these two expressions? // Javascript var add21a = function(a) { return a + 21; }; var add21b = (function(b) { return function(a) { return b + a }; })(21); // Coffeescript add21a = (a) -> a + 21 ...
|
|
Scooped by
Srdjan Strbanovic
onto Functional programming October 17, 2013 3:27 PM
|
No comment yet.
Sign up to comment
Your new post is loading...