summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBug763950.js
blob: 6f685217fdc439043361038e15c294ebfe29ceed (plain)
1
2
3
4
5
6
(function() {
    var x;
    for (let j = 0; j < 1; j = j + 1) 
        x = function() { return j; };
    assertEq(x(), 0);
})();