A

Admin • 833K Points
Coach

Q. What will this output?

Code:
console.log(typeof function(){});
  • (A) object
  • (B) function
  • (C) undefined
  • (D) string
  • Correct Answer - Option(B)
  • Views: 28
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

typeof on any function returns 'function'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.