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
/
testHeavy.js
1
function heavyFn1(i) {
2
if (i == 3) {
3
var x = 3;
4
return [0, i].map(function (i) i + x);
5
}
6
return [];
7
}
8
9
function testHeavy() {
10
for (var i = 0; i <= 3; i++)
11
heavyFn1(i);
12
}
13
14
testHeavy();