Maximally minimal stack trace standardization

Allen Wirfs-Brock allen at
Mon Sep 29 11:06:15 PDT 2014

On Sep 29, 2014, at 11:00 AM, Mark S. Miller wrote:

> Agreed. TCO or PTC specified only for strict mode functions, not for all non-sloppy functions.
> Would be nice to extend this at least to bound functions resulting from binding a strict function, but too late to consider for ES6. In any case, all such TCO extensions can compatibly happen later.

Bound functions don't have bodies, and hence don't directly make ECMAScript function calls. All they do is delegate their [[Call]] behavior to the target function's [[Call]]. No particular reason an implementation can't optimize through that if they want to.


More information about the es-discuss mailing list