Source code
Revision control
Copy as Markdown
Other Tools
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)