arguments.callee and strict mode

Jorge Chamorro jorge at jorgechamorro.com
Tue Mar 10 17:48:24 PDT 2009


On 11/03/2009, at 1:40, Erik Arvidsson wrote:

> We use arguments.callee.caller in a few places to get a call stack and
> we rely on this feature to be able to analyze errors in production.
>
> Spidermonkey has a stack property on the error object so we are ok in
> Firefox. Until all js engines have this (or some equivalent feature) I
> don't think we can stop using arguments.callee :'(
>
> Didn't we already cover this? I feel like we are going around in  
> circles.

Yep:
https://mail.mozilla.org/pipermail/es-discuss/2008-September/007482.html

-- 
Jorge.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20090311/3f375afb/attachment.html>


More information about the Es-discuss mailing list