A

Admin • 833K Points
Coach

Q. What will be logged?

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

Explanation by: Admin

Arrays in JavaScript are objects.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.