declare an arry in js code example
Example 1: how to make an array in javascript
var names = ["Sanjith", "Pranav", "Aadya", "Saharsh"]
Example 2: make list in javascript
var scores = Array(10);
var names = ["Sanjith", "Pranav", "Aadya", "Saharsh"]
var scores = Array(10);