πŸ“Š JavaScript
Q. What is the result of the following?
Code:
console.log(typeof NaN);
  • (A) NaN
  • (B) number
  • (C) undefined
  • (D) object
πŸ’¬ Discuss
βœ… Correct Answer: (B) number

Explanation: NaN stands for Not-a-Number but its type is 'number'.

Explanation by: Chandani
NaN stands for Not-a-Number but its type is 'number'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
47
Total Visits
πŸ“½οΈ
11 mo ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
92%
Success Rate