DekGenius.com
Team LiB   Previous Section   Next Section
arguments[ ] an array of function arguments

Availability

JavaScript 1.1; JScript 2.0; ECMAScript v1

Synopsis

arguments

Description

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.

See Also

Arguments; Chapter 7

    Team LiB   Previous Section   Next Section