by dlbucci · 7y ago · 0 comments
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
They do, except they get coerced to strings in whacky ways. Objects can be used largely like arrays, and Arrays are Objects, but Array is more suited for an ordered collection of numerically indexed elements, and so has relevant properties and methods, like length and indexOf.
https://thenewstack.io/brendan-eich-on-creating-javascript-i...