To play devils advocate here... There's nobody saying a map has to be a hash map. It could be any sort of map.
Look at JavaScript. Those are just plain maps. Why should expecting sophisticated hashes for simple maps be the default?
Look at JavaScript. Those are just plain maps. Why should expecting sophisticated hashes for simple maps be the default?
It's not quite insertion order, though, which is one of the issues with just specifying it in ES6 as it's implemented. If you insert with a numeric key (or a string that's strictly a number), I believe the JS engines don't agree on the order in which the numeric key will be enumerated in relation to the alphanumeric ones (v8 and spidermonkey will put the numeric ones ahead of all the keys, sorted ascending, then do the rest in insertion order, for instance).
Essentially, I'm not calling out the author's claim as unbelievable, I'm calling out the article for being unconvincing.