blob: c07d81b8a9c261ef1931b38b6cc6695c1ad4bf11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
actual = '';
expected = '';
(function () {
var y;
(eval("(function () {\
for (var x = 0; x < 3; ++x) {\
''.replace(/a/, (y = 3))\
}\
});\
"))()
})()
assertEq(actual, expected)
|