list in javascriopt code example
Example 1: how to make an array in javascript
var names = ["Sanjith", "Pranav", "Aadya", "Saharsh"]
Example 2: array in js
var array_name = [item1, item2, ...];
//Used to store more than 1 items
var names = ["Sanjith", "Pranav", "Aadya", "Saharsh"]
var array_name = [item1, item2, ...];
//Used to store more than 1 items