1 min readMar 15, 2019
In JavaScript there’s no guarantee for the order of the object keys. You shouldn’t count on that even though the de-facto behavior in most engines is to keep the order and recently ES6 touched upon the order. This is particularly troublesome for for..in
or Object.keys
if you rely on their order.