All about NaN in JavaScript

In JavaScript, NaN is one of the most confusing concepts; hence, it is often asked in the interview. You may have come across questions such as, What is NaN What is the type of NaN How to check for the NaN What is the difference between isNaN() and Number.isNaN() In this post, let us learn … Continue reading All about NaN in JavaScript