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

Chapter 6. Core Syntax > Array.pop()

Array.pop()

JavaScript 1.2+ Nav4+, NES3+ Syntax

							array.pop()

Description

The pop() method "pops" elements off the end of the array by deleting the last element of the array and setting the array's length property to one less than its current value. This last element is returned from the method. Table 6.11 shows the return value associated with this method.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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