summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testSetPropNeitherMissNorHit.js
blob: 906a2c147322bda77c01cfa11783b8171997d13c (plain)
1
2
3
4
5
function testSetPropNeitherMissNorHit() {
    for (var j = 0; j < 5; ++j) { if (({}).__proto__ = 1) { } }
    return "ok";
}
assertEq(testSetPropNeitherMissNorHit(), "ok");