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
/
bug516009.js
1
var gFutureCalls = [];
2
3
function add_future_call(index, func)
4
{
5
if (!(index in gFutureCalls)) {
6
gFutureCalls[index] = [];
7
}
8
}
9
10
function check_reset_test(time)
11
{
12
}
13
14
check_reset_test(0);
15
16
for (var i = 1; i <= 8; ++i) {
17
(function(j) {
18
add_future_call(j, function() { check_reset_test(j); });
19
})(i);
20
}