3 ms·
They can be faster than `Map` but: 1) Slower than hash tables 2) `{}` is not empty but has default keys 3) `{}` has multiple read-only keys 2 and 3 are caus
by frankenst1 6y ago
They can be faster than `Map` but:
1) Slower than hash tables
2) `{}` is not empty but has default keys
3) `{}` has multiple read-only keys
2 and 3 are caused by the prototype chain (properties not present on the initial object will be attempted to be resolved via the prototype hierarchy) which can be avoided via `Object.create(null)`