Q. What will the following return?

Code:
typeof Infinity;
  • (A) number
  • (B) infinity
  • (C) undefined
  • (D) object
πŸ’¬ Discuss
βœ… Correct Answer: (A) number
Explanation: Infinity is of type number in JavaScript.
Explanation by: Chandani
Infinity is of type number in JavaScript.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
107
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
92%
Success Rate