summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testMultiplePendingGlobalWrites.js
blob: 06d54dfbbb5245e561c55c3bf1f7f2748ad322c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
var a, b;
function g(x) {
    var y = x++;
    return [x, y];
}
function f() {
    for(var i=0; i<20; i++) {
        [a,b] = g("10");
    }
}
f();