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
/
testPutOnEmptyArgsObject.js
1
var g;
2
3
function h() {
4
return arguments.length;
5
}
6
7
function f() {
8
var args = arguments;
9
g = function() { return h.apply(this, args); }
10
}
11
12
for (var i = 0; i < 10; ++i) {
13
f();
14
}
15
16
assertEq(g(), 0);