summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1213552.js
blob: f1d475dd6dc47739e9e5f893041988fc2181446f (plain)
1
2
3
4
this.x1 = 'y';
// evalcx is like evaluate and not eval, and so can introduce a global let binding.
evalcx("let x1 = 'z';", this);
assertEq(x1, 'z');