projects
/
platform
/
upstream
/
js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.0.0
[platform/upstream/js.git]
/
js
/
src
/
jit-test
/
tests
/
closures
/
t035.js
1
actual = '';
2
expected = '4,';
3
4
function k(f_arg) {
5
for (var i = 0; i < 5; ++i) {
6
f_arg(i);
7
}
8
}
9
10
function t(x) {
11
k(function (i) { x = i; });
12
appendToActual(x);
13
}
14
15
t(1);
16
17
18
assertEq(actual, expected)