# disallow the Object.keys method (es/no-object-keys)

This rule reports ES5 Object.keys method as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-object-keys: error */ const keys = Object.keys(obj)
Now loading...

# 📚 References