Type Global Object
Format
arguments.length
arguments [reference number]
Commentary
An array-like object corresponding to the arguments passed to a function.The arguments object is a local variable available within all functions. Has arguments.callee and arguments.length properties.
Sample code - QC 2 JavaScript
outputs [0] = test (123,456);
{ function test () (
var n = arguments.length;
return n.toString ();
} )
Sample code - QC 3 JavaScript
var test = new Array(); // initial value of false
function (__string outputArray) main ()
{ function test(){
var n = arguments.length;
return n.toString();
} var result = new Object();
result.outputArray = test(123,456);
return result;
}