Section 24.83. Function.arguments: arguments passed to a function


24.83. Function.arguments[]: arguments passed to a function

ECMAScript v1; deprecated by ECMAScript v3

24.83.1. Synopsis

function.arguments[i]

function.arguments.length

24.83.2. Description

The arguments property of a Function object is an array of the arguments that are passed to a function. It is defined only while the function is executing. arguments.length specifies the number of elements in the array.

This property is deprecated in favor of the Arguments object. Although ECMAScript v1 supports the Function.arguments property, it has been removed from ECMAScript v3 and conforming implementations may no longer support this property. Therefore, it should never be used in new JavaScript code.

24.83.3. See Also

 Arguments 




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net