November 2001
Intermediate to advanced
936 pages
68h 43m
English
arguments[ ] — an array of function arguments
JavaScript 1.1; JScript 2.0; ECMAScript v1
arguments
The arguments[]
array is defined only within a function body. Within the body of a
function, arguments refers to the Arguments object
for the function. This object has numbered properties and serves as
an array containing all arguments passed to the function. The
arguments identifier is essentially a local
variable automatically declared and initialized within every
function. It refers to an Arguments object only within the body of a
function and is undefined in global code.