Skip to content

Allows hasOwnKey to work on null derived objects

Compare
Choose a tag to compare
@matthewp matthewp released this 13 Nov 19:38
· 45 commits to master since this release

This fixes this case:

var obj = Object.create(null);
obj.foo = "bar";

reflect.hasOwnKey(obj, "foo");