standardizing Error.stack or equivalent

John Lenz concavelenz at
Tue Mar 25 10:38:58 PDT 2014

I was recently modifying some code to be strict mode compliant and it
reminded me that the primary use of the Function caller property and
arguments.caller is to build stack traces.   Now the latest Internet
Explorer releases have support for stack traces, as of course do Chrome,
FF, and Safari but only Chrome/V8, to my knowledge, has an actual API.

I know there was some initial work in this area and nothing is likely to
happen in the ES6 time frame but can something to be done to make the
stacks traces more usable?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list