Skip to content

es-x/no-object-getownpropertydescriptor

disallow the Object.getOwnPropertyDescriptor method

This rule reports ES5 Object.getOwnPropertyDescriptor method as errors.

💡 Examples

⛔ Examples of incorrect code for this rule:

Now loading...

🚀 Version

This rule was introduced in eslint-plugin-es v3.0.0.

📚 References