We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85f26de commit b7ccbc5Copy full SHA for b7ccbc5
tests/test.js
@@ -2,7 +2,7 @@
2
3
function isEmpty(obj) {
4
for (var prop in obj) {
5
- if (obj.hasOwnProperty(prop)) { // eslint-disable-line
+ if (Object.prototype.hasOwnProperty.call(obj, prop)) {
6
return false;
7
}
8
0 commit comments