summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testGlobalProtoAccess.js
blob: 97f161289af8696a3f6df8b7b2937075ddd52562 (plain)
1
2
3
4
5
function testGlobalProtoAccess() {
    return "ok";
}
this.__proto__.a = 3; for (var j = 0; j < 4; ++j) { [a]; }
assertEq(testGlobalProtoAccess(), "ok");