# es/no-object-issealed

disallow the Object.isSealed method

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

This rule reports ES5 Object.isSealed method as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-object-issealed: error */ var sealed = Object.isSealed(obj)
Now loading...

# 📚 References