Why was the arguments.callee.caller property deprecated in JavaScript?

Posted by pcorcoran on Stack Overflow See other posts from Stack Overflow or by pcorcoran
Published on 2008-09-19T16:45:37Z Indexed on 2010/05/01 5:47 UTC
Read the original article Hit count: 241

Filed under:
|
|

Why was the arguments.callee.caller property deprecated in JavaScript?

It was added and then deprecated in JavaScript, but it was omitted altogether by ECMAScript. Some browser (Mozilla, IE) have always supported it and don't have any plans on the map to remove support. Others (Safari, Opera) have adopted support for it, but support on older browsers is unreliable.

Is there a good reason to put this valuable functionality in limbo?

(Or alternately, is there a better way to grab a handle on the calling function?)

© Stack Overflow or respective owner

Related posts about function

Related posts about JavaScript