Open jtwalters opened 10 years ago
In your code I see a lot of:
var myarray = Array();
type statements. This seems like a mistake. Perhaps you meant new Array()?. But, the recommended way to create a new, empty array is using the array literal:
new Array()
var myarray = new Array(); // ok, but not recommended var myarray = []; // recommended
@jtwalters thanks for the tip, will replace them.
In your code I see a lot of:
type statements. This seems like a mistake. Perhaps you meant
new Array()
?. But, the recommended way to create a new, empty array is using the array literal: