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

This rule reports ES5 Object.getPrototypeOf method as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-object-getprototypeof: error */ var proto = Object.getPrototypeOf(obj)
Now loading...

# 📚 References