What is the difference between each of the following array definitions.
var myArray = [];
var myArray = {};
var myArray = new Array();
See Question&Answers more detail:osWhat is the difference between each of the following array definitions.
var myArray = [];
var myArray = {};
var myArray = new Array();
See Question&Answers more detail:os