5 - https://johnresig.com/blog/objectgetprototypeof/
9 `__proto__` property has been deprecated as of ECMAScript 3.1 and shouldn't be used in the code. Use `Object.getPrototypeOf` and `Object.setPrototypeOf` instead.
13 When an object is created with the `new` operator, `__proto__` is set to the original "prototype" property of the object's constructor function. `Object.getPrototypeOf` is the preferred method of getting the object's prototype. To change an object's prototype, use `Object.setPrototypeOf`.
15 Examples of **incorrect** code for this rule:
20 /*eslint no-proto: "error"*/
22 var a = obj.__proto__;
24 var a = obj["__proto__"];
33 Examples of **correct** code for this rule:
38 /*eslint no-proto: "error"*/
40 var a = Object.getPrototypeOf(obj);
42 Object.setPrototypeOf(obj, b);
44 var c = { __proto__: a };
51 You might want to turn this rule off if you need to support legacy browsers which implement the
52 `__proto__` property but not `Object.getPrototypeOf` or `Object.setPrototypeOf`.