A

Admin • 825.56K Points
Coach

Q. What will the following return?

Code:
typeof Infinity;
  • (A) number
  • (B) infinity
  • (C) undefined
  • (D) object
  • Correct Answer - Option(A)
  • Views: 5
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
Infinity is of type number in JavaScript.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.