arguments.callee Mar 4, 2010 • Fred Yang var sum = function(i) { if (i == 1) { return i; } else { return i + arguments.callee(i-1); } } alert(sum(3)); Please enable JavaScript to view the comments powered by Disqus.