blob: 2c65b7161779f8f2ca32e19eed1acba3df710928 [file] [log] [blame]
load(libdir + "immutable-prototype.js");
var n = 0;
if (globalPrototypeChainIsMutable()) {
this.__proto__ = new Proxy({}, {
has: function () {
if (++n === 2)
return false;
a = 0;
}
});
}
a = 0;
assertEq(a, 0);