A

Admin • 833K Points
Coach

Q. What does this function return?

Code:
function test() {
return typeof arguments;
}
  • (A) "arguments"
  • (B) "array"
  • (C) "object"
  • (D) "function"
  • Correct Answer - Option(C)
  • Views: 14
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

arguments is an array-like object, and typeof returns 'object'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.