Skip to content

set: Use bound hasOwnProperty#12

Open
ExE-Boss wants to merge 1 commit intoisaacs:mainfrom
EB-Forks:fix/set/use-bound-hasownproperty
Open

set: Use bound hasOwnProperty#12
ExE-Boss wants to merge 1 commit intoisaacs:mainfrom
EB-Forks:fix/set/use-bound-hasownproperty

Conversation

@ExE-Boss
Copy link

The tiny npm package has exports a Function.prototype.call.bind(Object.prototype.hasOwnProperty) helper, which has the advantage of working when p.root === null or p.hasOwnProperty is not the Object.prototype.hasOwnProperty function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant