3 ms·
I think these are in the spec. https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tail-position-calls https://people.mozilla.org/~jorendorff/es6-draft.ht
by ivank 12y ago
I think these are in the spec. https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tail-position-calls https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ta...
- jessaustin 12y agoIn that case, I'm shocked that no Lispers have showed up to castigate raganwald for writing something like fn(first, foldWith(fn, terminalValue, rest)); With an accumulator foldWith could call itself directly! b^) Actually this indicates to me that ES6 should implement folds itself.