nodejs
javascript
development
eslint
es6
static-code-analysis
style-guide
linter
ecmascript
standard
-
Updated
Sep 5, 2021 - JavaScript

Please describe what the rule should do:
Starting V8 v.9.3,
Object.prototype.hasOwnProperty.callcan be replaced with an alias/syntax sugarObject.hasOwn, which is much more read-friendly. Further information: https://v8.dev/features/object-has-ownWhat new ECMAScript feature does this rule relate to?
Promoting using of an alias/syntax sugar
Object.hasOwninstead of `Object.prot