summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug510437.js
blob: 2418b9b117d81ba21b940fbab095134fc2793e34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Don't crash or assert.

var d;
this.watch("d", eval);
(function () {
    (eval("\
    (function () {\
        for (let x = 0; x < 2; ++x) {\
            d = x\
        }\
    })\
"))()
})()