Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"'hasOwnProperty' is a really bad name" #770
I was curious why JSHint has an error for:
When you're writing code like this:
... unless it's a leftover bug from the JSLint port:
Is it something that can be fixed in an update? Or is there a better reason?
Hi, is there a way to suppress this warning? I'm using localstorage fallback from https://developer.mozilla.org/en-US/docs/DOM/Storage#localStorage (at the bottom of that section) which overwrites hasOwnProperty method.