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
/
nameinc.js
1
actual = '';
2
expected = '5,';
3
4
function f() {
5
var p = 0;
6
7
function g() {
8
for (var i = 0; i < 5; ++i) {
9
p++;
10
}
11
}
12
13
g();
14
15
appendToActual(p);
16
}
17
18
f();
19
20
21
assertEq(actual, expected)