• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

arguments

JavaScript 1.1+, ECMAScript 1.0+ Nav3+ Syntax

arguments
arguments[index]

Description

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.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint