hello i a m learning the javascript and I am wondering whether you can help me understand why there are two ways to make a new array?
From book I see the author is using:
var myArray = new Array("one","two",3);
Also seeing on the web
var myArray = ["one","two",3];
Can someone please explain to me what is the difference?