declare an array – javascript

You can declare an array using the constructor  “Array”

var arlene1 = new Array();
var arlene2 = new Array(“First element”, “Second”, “Last”)

Share

Leave a Reply

Your email address will not be published. Required fields are marked *