2 ms·
From the language specification: "The iteration order over maps is not specified and is not guaranteed to be the same from one iteration to the next." There's
by 0xjnml 4y ago
From the language specification: "The iteration order over maps is not specified and is not guaranteed to be the same from one iteration to the next."
There's a long shot between "not specified" and "uniformly random".
- pwdisswordfishc 4y agoThe joke is that the sort of people who rely on apparent behaviour in practice isn’t the sort that tends to look things up in specifications.