Given the following function definitions:
var curry = function (f) { return function (x) { return function (y) { return f(x,y); }; }; }; var compose = function (f,g) { return function (x) { return f(g(x)); }; }; functionDef
what is the value of the following function call?
functionCall
Note that, if the function call generates an exception, the
correct answer is the word "error" (without the double
quotes) in all lowercase letters. Otherwise, the answer may
be an integer or one of the Boolean
constants true
or false.
You may need a calculator for this problem.
The correct answer is: answer