summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Proxy/regress-bug1037770.js
blob: 240b04f32eaf28a7fb11e4b4900d295ee083d418 (plain)
1
2
3
4
5
6
7
foo = 1;
Object.defineProperty(this, "foo", {writable:false, configurable:true});
foo = 2;
assertEq(foo, 1);

if (typeof reportCompare === "function")
    reportCompare(true, true);