Bug 1213552 - Followup: add test.

This commit is contained in:
Shu-yu Guo 2015-10-14 13:14:39 -07:00
parent 24a4505d6d
commit 6ef4878ad8

View File

@ -0,0 +1,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');