mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 19:25:43 +00:00
Bug 1213552 - Followup: add test.
This commit is contained in:
parent
24a4505d6d
commit
6ef4878ad8
4
js/src/jit-test/tests/ion/bug1213552.js
Normal file
4
js/src/jit-test/tests/ion/bug1213552.js
Normal 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');
|
Loading…
Reference in New Issue
Block a user