From Dev.to
Object.groupBy Returns a Null-Prototype Object: Read Warehouse Groups Deliberately
Object.groupBy returns a null-prototype object. A group named east can exist while groups.hasOwnProperty is unavailable. Use an own-property check that does not depend on a method inherited from Objec...
