Re:Hyrum's Law
by wruza on Monday January 10, 2022 @11:19AM
(#29877113)
It depends. Bare hash tables are semi-random and get reshuffled at growth points naturally. But I remember reading in some manual that that language reshuffles iteration even for immutable hash tables. Js objects are usually based on "shapes", which do not follow hash table semantics:
https://mathiasbynens.be/notes/shapes-ics
https://v8.dev/blog/fast-properties