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
/
testApplyAtJoinPoint.js
1
var isTrue = true;
2
3
function g(x) {
4
return x;
5
}
6
7
function f() {
8
return g.apply(null, isTrue ? ["happy"] : arguments);
9
}
10
11
for (var i = 0; i < HOTLOOP + 10; ++i)
12
assertEq(f("sad"), "happy");