Multiple choice technology programming languages

The following piece of javascript code is going to work fine. function tryVariableArguments() { var intCnt = 0; for (intCnt = 0; intCnt < tryVariableArguments.arguments.length; intCnt++) { alert(tryVariableArguments.arguments[intCnt]); } } Trial Page tryVariableArguments('1','2','3'); tryVariableArguments('1','2'); tryVariableArguments();

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

JavaScript functions possess an implicit arguments array-like object that holds all arguments passed during a call. The script iterates over tryVariableArguments.arguments successfully for varying counts of parameters, making the code valid and functional.