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
/
basic
/
bug532568.js
1
var actual = "";
2
3
function f() {
4
var x = 10;
5
6
var g = function(p) {
7
for (var i = 0; i < 10; ++i)
8
x = p + i;
9
}
10
11
for (var i = 0; i < 10; ++i) {
12
g(100 * i + x);
13
actual += x + ',';
14
}
15
}
16
17
f();
18
19
assertEq(actual, "19,128,337,646,1055,1564,2173,2882,3691,4600,");