Name
Function.arguments[]: arguments passed to a function — ECMAScript v1; deprecated by ECMAScript v3
Synopsis
function.arguments[i]
function.arguments.length
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.
See Also
Arguments
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access