News for hackers. Stuff that matters.
Re:Speeding up the JavaScript ecosystem – one library at a time by hajile on Wednesday November 30, 2022 @06:00PM (#33809249)
JS specifies that the order keys are added makes a difference. For this reason, entering them in two different ways is a fundamentally different, non-interchangeable object type.
Re:Speeding up the JavaScript ecosystem – one library at a time by brundolf on Wednesday November 30, 2022 @11:53PM (#33812493)
You could preserve that information and still have the same native struct, since it only becomes relevant when iterating the keys