A

Admin • 828.03K Points
Coach

Q. What will console.log(typeof []) return?

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

Explanation by: Admin
Arrays are special objects, so typeof returns 'object'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.