45
rated 0 times
[
46]
[
1]
/ answers: 1 / hits: 19930
/ 15 Years ago, tue, may 19, 2009, 12:00:00
In JSLint, it warns that
var x = new Array();
(That's not a real variable name) should be
var result = [];
What is wrong with the 1st syntax? What's the reasoning behind the suggestion?
More From » jslint