Imported Upstream version 1.0.0
[platform/upstream/js.git] / js / src / jit-test / tests / closures / setname-no-pop.js
1 actual = '';
2 expected = '';
3
4 (function () {
5     var y;
6     (eval("(function () {\
7                for (var x = 0; x < 3; ++x) {\
8                ''.replace(/a/, (y = 3))\
9                }\
10            });\
11      "))()
12 })()
13
14
15
16 assertEq(actual, expected)