By sonic0002
via pixelstech.net
Submitted: Feb 27 2013 / 05:20
This question is from Douglas Crockford. He asks the students to write a function that takes a binary function, and makes it callable with two invocations. Like : applyf(mul)(5)(6) == 30. Do you know how to write this function?
Tweet
SaveShareSend
Tags: javascript, web design
Add your comment