initializing an arrayin javascript code example
Example 1: how to make an array in javascript
var names = ["Sanjith", "Pranav", "Aadya", "Saharsh"]
Example 2: how to initialize an array in javascript
var array_name = [item1, item2, ...];
var names = ["Sanjith", "Pranav", "Aadya", "Saharsh"]
var array_name = [item1, item2, ...];