blob: 933da605ee244a030db83a843d8f4451f0ecd43e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
actual = '';
expected = '10,';
function f(x) {
{
let x2 = 10;
for (var i = 0; i < 5; ++i) {
var g = function () {
appendToActual(x2);
};
}
g();
}
}
f(1);
assertEq(actual, expected)
|