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

Chapter 3. Array() > Description

Description

Arrays, simply put, are objects that can have a series of properties ordered by an index number. Sometimes it matters to have a specific order to these properties, called elements of the array. Sometimes it does not, except to give you a grouping of common elements. (Do not confuse these elements with HTML elements, discussed in Part III, “Document Object Model for HTML Documents.”)

Arrays are among the most useful features in JavaScript, simply for their flexibility. In the preceding two chapters, you saw a few examples of them. You will continue to see arrays throughout this book, in many of the examples. You will also see a few properties within this book that are special instances of Array(), as generated from strings and regular expressions.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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