Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

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

9. Array() > Array Object Instance Properties and Methods

Array Object Instance Properties and Methods

Array object instances have the following properties and methods:

Instance Properties (e.g., var myArray = ['foo', 'bar']; myArray.length;):

  • constructor

  • index

  • input

  • length

Instance Methods (e.g., var myArray = ['foo']; myArray.pop();):

  • pop()

  • push()

  • reverse()

  • shift()

  • sort()

  • splice()

  • unshift()

  • concat()

  • join()

  • slice()


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint