JavaScript Error: "ReferenceError: array is not defined"
JavaScript is case sensitive, so to create a new array write Array
with a capital letter:
var data = new Array();
However you may always use a short version:
var data = [];
JavaScript is case sensitive, so to create a new array write Array
with a capital letter:
var data = new Array();
However you may always use a short version:
var data = [];