Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Replace direct call to .hasOwnProperty() builtin #36

Merged
merged 1 commit into from
Jun 18, 2017

Conversation

lloydh
Copy link
Contributor

@lloydh lloydh commented Mar 18, 2017

Since js doesn't protect the hasOwnProperty property of objects, switch to calling the method from the Object prototype.

See also: http://eslint.org/docs/rules/no-prototype-builtins

Since js doesn't protect the hasOwnProperty property of objects, switch to calling the method from the Object prototype.

See also: http://eslint.org/docs/rules/no-prototype-builtins
@domchristie domchristie merged commit 912defd into domchristie:master Jun 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants