PDA

View Full Version : Has naybody seen the arguments parameter



sean.mcelroy
5 Oct 2012, 5:57 AM
In many of the examples on this site I see code like this:

this.callParent(arguments);

Can someone tell me where the arguments parameter is defined? In most examples it appears as if by magic.

Tim Toady
5 Oct 2012, 6:22 AM
It is part of the javascript language.
https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Functions_and_function_scope/arguments

sean.mcelroy
5 Oct 2012, 7:20 AM
Thanks Tim I didn't know that.