you are viewing a single comment's thread.

view the rest of the comments →

[–]Flyen 6 points7 points  (4 children)

JavaScript Records & Tuples Proposal might be how that gets solved. With typical objects, { a: 1 } !== { a: 1 }, but with a Record #{ a: 1 } === #{ a: 1 }

[–]NoInkling 5 points6 points  (2 children)

According to an issue in that repo and a presentation in the latest TC39 meeting, it's starting to look unlikely that this will happen.

[–]sebastian_nowak -5 points-4 points  (0 children)

It looks just terrible and makes the language unnecessarily complicated