Test case #1 | |
undefined | |
function foo() | |
{ | |
write(arguments.caller); | |
write(arguments.callee); | |
} | |
Test case #2 | |
100 | |
Test case #3 | |
undefined | |
Test case #4 | |
10 | |
Test case #5 | |
20 | |
30 | |
40 | |
Test case #6 | |
goodbye | |
Test case #7 | |
3 | |
2 | |
Test case #8 | |
26 | |
Test case #9 | |
Test case #10 | |
object | |
Test case #11 | |
function foo() | |
{ | |
write(arguments.callee); | |
write(arguments.caller); | |
} | |
undefined | |
Test case #12 | |
10 | |
Test case #13 | |
function () | |
{ | |
write(arguments.callee); | |
} | |
Test case #14 | |
undefined | |
Test case #15 | |
undefined | |
Test case #16 | |
undefined | |
Test case #17 | |
1 | |
NaN | |
Test case #18 | |
undefined | |
Test case #19 | |
Test case #20 | |
Test case #21 | |
1 | |
1 | |
Test case #22 | |
10 | |
undefined | |
20 | |
undefined | |
30 | |
undefined | |
10 | |
undefined | |
20 | |
undefined | |
30 | |
undefined | |
10 | |
undefined | |
20 | |
undefined | |
30 | |
undefined | |
Test case #23 | |
1 | |
10,20,30 | |
Test case #24 | |
10,20,30 | |
1 | |
Test case #25 | |
1 | |
10,20,30 | |
Test case #26 | |
[object global] | |
3 | |
Test case #27 | |
4 | |
Test case #28 | |
undefined |