4 ms·
The new functions do not have names, so you will need to use the old functions to write self-recursive functions. Or you can use the Y Combinator for extra fun
by reginaldo 15y ago
The new functions do not have names, so you will need to use the old functions to write self-recursive functions.
Or you can use the Y Combinator for extra fun...
https://secure.wikimedia.org/wikipedia/en/wiki/YCombinator#Example_in_JavaScript https://secure.wikimedia.org/wikipedia/en/wiki/YCombinator#E...
- danbmil99 15y agoCan't you assign the function to a var and invoke that in the function body, like in Coffeescript? Otherwise I'm missing something.
- deleted 15y ago[deleted]