A

Admin • 833.24K Points
Coach

Q. What is the output?

Code:
console.log(typeof []);
  • (A) object
  • (B) array
  • (C) list
  • (D) undefined
  • Correct Answer - Option(A)
  • Views: 36
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

Arrays are technically objects in JavaScript.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.