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:
var myarray = new Array(); // ok, but not recommended
var myarray = []; // recommended
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: