Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
gdprrrr
2y ago
0 comments
Share
Is ordering of the keys guaranteed to be the same as in the literal?
undefined | Better HN
0 comments
default
newest
oldest
kiitos
2y ago
Order should be preserved up to the Handler. Some Handlers e.g. JSONHandler produce output with key order explicitly undefined.
grose
2y ago
That’s a good point. I think it would be random without some sorting shenanigans.
j
/
k
navigate · click thread line to collapse