News for hackers. Stuff that matters.
Re:TC39: Add Object.groupBy and Map.groupBy by edflsafoiewq on Tuesday December 19, 2023 @06:28PM (#38703420)
It's called a null-prototype object: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

They're "usually used as a cheap substitute for maps": the lack of prototype prevents the object from being polluted by keys that morally shouldn't be there, like toString, etc.

There are no comments on this comment yet.