In javascript, array is special type of object. Arrays use numbers to access its "elements".
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys
The typeof operator in JavaScript returns "object" for arrays.
http://www.w3schools.com/js/js_arrays.asp
No comments:
Post a Comment