Firefox and Google Chrome have built-in a JSON object, so you can simply use:
alert(JSON.stringify(myArray))
references:
http://stackoverflow.com/questions/3006644/how-can-i-view-array-structure-in-javascript-with-alert
Firefox and Google Chrome have built-in a JSON object, so you can simply use:
alert(JSON.stringify(myArray))
references:
http://stackoverflow.com/questions/3006644/how-can-i-view-array-structure-in-javascript-with-alert