Anonymous recursion: Difference between revisions

rename the lambda's argument so the example actually works
(rename the lambda's argument so the example actually works)
Line 594:
throw "Argument cannot be negative";
else
return (function(xn) {
if (n < 2)
return 1;
Anonymous user