WALA/com.ibm.wala.cast.js.test.data/examples-src/tests/function_apply2.js

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();