This repository was archived by the owner on Oct 4, 2020. It is now read-only.
This repository was archived by the owner on Oct 4, 2020. It is now read-only.
StrMap backing object inherits from Object.prototype and lookup uses in #35
Closed
Description
I imagine lookup
will think that keys like "toString"
and "hasOwnProperty"
exist in the object, even though the functions that rely on Object.keys
or iteration through for-in won't see these properties because they're non-enumerable. I haven't tested this, but I'm pretty sure I'm right just by looking at the implementation.