$myarray = new Array(); code example
Example 1: how to make an array in javascript
var names = ["Sanjith", "Pranav", "Aadya", "Saharsh"]
Example 2: javascript declare array
var array = []
var names = ["Sanjith", "Pranav", "Aadya", "Saharsh"]
var array = []