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

This rule reports ES2015 Object.getOwnPropertySymbols method as errors.

# Examples

⛔ Examples of incorrect code for this rule:

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

# 📚 References