Hi I'm trying to run the following function:
function add (a, b) { return a + b; } var make_lazy = function (add, a, b) { return function () { add(a,b); } } Basically what I'm trying to do is to pass another function as an argument and its parameters to the make_lazy function - and then run the function that was passed in as the argument along with the other two parameters. I get undefined is not function as an error when I try to run the code.