5 ms·Anonymous recursion in 6 lines of Javascript1 points by arnemart 16y agolhorie 16y agoSeems like a somewhat convoluted way of doing this: alert(function rec(i) { return i === 0 ? 1 : i * rec(i - 1); }(4));//24 alert(typeof rec);//undefined