__proto__
property is not recommended JS-00843668 (n = t),
3669 ((e = o).prototype = Object.create(n.prototype)),
3670 (e.prototype.constructor = e),
3671 (e.__proto__ = n);3672 var a = o.prototype;
3673 return (
3674 (a.isWithContent = function () {
__proto__
property has been deprecated as of ECMAScript 3.1 and shouldn't be used.
Use Object.getPrototypeOf
and Object.setPrototypeOf
instead.
let objProto = obj.__proto__;
objProto = obj["__proto__"];
obj.__proto__ = proto;
obj["__proto__"] = proto;
const proto = Object.getPrototypeOf(obj);
Object.setPrototypeOf(obj, proto);