summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testSetGetterOnlyProperty.js
blob: d08ea7a56b510172f982b035fc4f16ea57a295bb (plain)
1
2
3
4
5
var o = { get x() { return 17; } };
for (var j = 0; j < 5; ++j)
  o.x = 42;

assertEq(true, true);