Fix: freezing of Map values during finalization (#1150)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Map keys are not enumerable properties of the Map object, so the propertyIsEnumerable check does not apply to them. This commit adds a condition to detect Map objects and uses Map.prototype.has to check for key existence. Fixes #1119.
authored by Chetan Satpute · committed by GitHub · parent 857b4b7 · Browse files · 2 files+7 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+7 added−2 removed
- tests:+2 added−0 removed
- other:+5 added−2 removed