August 1999
Intermediate to advanced
1488 pages
72h 53m
English
arguments
arguments[index]
The Arguments object is an array that contains all the arguments passed into the currently executing function as well as a few other useful properties. This object is automatically created and initialized when a function is invoked and goes out of scope as soon as the code function finishes executing. To access arguments passed into a function, simply use array brackets to specify an index. Table 6.6 lists the properties associated with Argument object.
Note
To use the Argument object, you do not specify the function using dot notation as you might expect. This is because this object is different from the Function.arguments[] array associated ...
Read now
Unlock full access