x = 2 / 3;
Is x == 0.666 or is x == 0?
Both are correct, but in different contexts!
In your MDN link, it states that arrays are “high-level, list-like objects.” How weaselly! You don’t program with them in the same way as in other programming languages. The use of push/pop to add to and remove from the end of an array, unshift/shift to add to and remove from the beginning of an array, indexOf/splice to delete an element from an array, and so on is so goofy and unintuitive and inconsistent. There’s a lot more ceremony to using simple arrays. Why is the beginning and end of an array treated differently???
I imagine there are uncommon situations where this kind of approach may be useful. But why impose this nonsense on everybody else who just wants to use simple arrays???
JS can be used in a variety of areas. It’s a fairly versatile language. Too bad it’s also a retarded language. Versatility does not trump all. I’d rather use a language that is more pleasant. I’d rather use a language that doesn’t hang over my head like the Sword of Damocles. I’d rather not have to walk through a minefield.