summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug646968-8.js
blob: 9214f0798f08635d7598dc1c9fe2b08047de8e64 (plain)
1
2
3
4
5
6
7
8
load(libdir + "evalInFrame.js");

var x = 5;
{
    let x = eval("this.x++");
    assertEq(evalInFrame(0, "x"), 5);
}
assertEq(x, 6);