Skip to content

Commit

Permalink
chore: udpate comment
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Dec 2, 2021
1 parent c3ac824 commit e828a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/prefer-object-has-own.js
Expand Up @@ -65,7 +65,7 @@ module.exports = {
const objectPropertyName = astUtils.getStaticPropertyName(node.callee.object);
const isObject = checkForObject(node.callee);

// check `Object`
// check `Object` scope
const scope = context.getScope();
const variable = astUtils.getVariableByName(scope, "Object");

Expand Down

0 comments on commit e828a2f

Please sign in to comment.