# es/no-object-isextensible

disallow the Object.isExtensible method

  • ✅ The following configurations enable this rule: plugin:es/no-new-in-es5 and plugin:es/restrict-to-es3

This rule reports ES5 Object.isExtensible method as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-object-isextensible: error */ var extensible = Object.isExtensible(obj)
Now loading...

# 📚 References