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

Using the Array Object

You can create a new array in a variety of ways using the Array constructor:

var array1 = new Array()                //Creates an empty array 
var array1 = new Array([size]) 
var array1 = new Array([element0 [, element1[, ... [, elementN]]]]) 


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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