summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testArrayNamedProp.js
blob: 7357412dd4d7fcbc2f4f6d00e3035d6bfc1efdf0 (plain)
1
2
3
4
5
function testArrayNamedProp() {
    for (var x = 0; x < 10; ++x) { [4].sort-- }
    return "ok";
}
assertEq(testArrayNamedProp(), "ok");