I like this style of programming, but isn't there cause for concern in having such a deep call stack in JS?
var a = function(x) { if (x == 0) return 'done'; return a(x-1); };
a(100000);
RangeError: Maximum call stack size exceeded
http://code.google.com/p/v8/issues/detail?id=457Guess it's time for me to stop relying on that behavior...