function λ(code) { return eval( "function () {"+ " var $=arguments;" + " return " + code + ";" "}" ); } var sum = map([1,2,3,4], λ("$[0] + $[1]"));
function(x,y) { return x*y; }