A

Admin • 828.03K Points
Coach

Q. What will be the result of typeof []?

  • (A) object
  • (B) array
  • (C) list
  • (D) undefined
  • Correct Answer - Option(A)
  • Views: 7
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
typeof [] returns 'object', because arrays are objects in JavaScript.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.