Skip to content

es-x/no-object-hasown

disallow the Object.hasOwn method

This rule reports ES2022 Object.hasOwn method as errors.

💡 Examples

⛔ Examples of incorrect code for this rule:

Now loading...

🚀 Version

This rule was introduced in v5.0.0.

📚 References