I’m starting to find out that javascript isn’t a crappy language at all. Did you know it’s closer to lisp than it is to Java?.
Heres currying in javascript.
>>> var c = function (b) { return function (a) { return b + a;}};>>> var add5 = c(5)>>> add5(3)8
Advertisement
0 Responses to “Javascript Revelations #1”