8 ms·
Except in ES5 strict mode :-/
by tlrobinson 17y ago
Except in ES5 strict mode :-/
- gb 17y agoYou can still do it, and without a Y combinator or anything like that too: var ninja = { yell: function () { var yellLocal = function(n) { return n > 0 ? yellLocal(n-1) + "a" : "hiy"; } return yellLocal; }() }