Posted On: Feb 22, 2018
There are 3 different ways to create an array in Javascript. They are
var myArray=[value1,value2...valueN];
var myArray=new Array();
var myArray=new Array('value1','value2',...,'valueN');
Never Miss an Articles from us.
Javascript Javascript is an object-oriented computer programming language commonly used to create interactive effects wi..
What is the difference between let and var?..