Are Javascript arrays primitives? Strings? Objects?
Arrays are objects. However, unlike regular objects, arrays have certain special features. Arrays have an additional object in their prototype chain – namely Array.prototype. This object contains so-called Array methods which can be called on array instances. (List of methods is here: http://es5.github.io/#x15.4.4) Arrays have a length property (which is live, ergo, it auto-updates) (Read … Read more