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