
70

Property order is predictable in JavaScript objects since ES2015
source link: https://www.stefanjudis.com/today-i-learned/property-order-is-predictable-in-javascript-objects-since-es2015/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

I always thought that JS engine implemented property order in objects differently and thus we can not rely on order of certain properties. It turns out this was fixed.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK