by zeroimpl · 2y ago · 0 comments
The return value of groupBy is an object that does not inherit from %Object.prototype%.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.