9 lines
167 B
JavaScript
9 lines
167 B
JavaScript
|
// test use of arguments array
|
||
|
function useArgs() {
|
||
|
return arguments[2];
|
||
|
}
|
||
|
var o = {}
|
||
|
function theThree() {}
|
||
|
var a = useArgs;
|
||
|
var b = a.apply(o, [o,o,theThree]);
|
||
|
b();
|