Re: Non-deprecated arguments



Richard Cornford wrote:
Robert wrote:

Hi,

Currently I am using
argument.callee.caller.arguments
to get the arguments of the caller function, but Firefox
complains that arguments (of Function) is deprecated.


But doesn't tell you that the - caller - property is a JavaScript(tm)
feature, non-standardised and certainly not cross-browser?

That's right. It does not tell me this.

Is there a way to get the arguments of the calling function
in a non-deprecated way?


No,

Well that's too bad. I don't mind that some things get deprecated, but why deprecate something without any means to achieve the same functionality in another way....


Robert.
.