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

This rule reports ES2015 Object.setPrototypeOf as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-object-setprototypeof: error */ Object.setPrototypeOf(obj, proto)
Now loading...

# 📚 References