21
rated 0 times
[
26]
[
5]
/ answers: 1 / hits: 78390
/ 15 Years ago, tue, july 7, 2009, 12:00:00
JSLint is giving me this error:
Problem at line 11 character 33: Use the array literal notation [].
var myArray = new Array();
What is array literal notation and why does it want me to use it instead?
It shows here that new Array();
should work fine... is there something I'm missing?
More From » arrays