Not-a-Number or NaN is a weirdo Global Object present in JavaScript and frequently returned when failed mathematical operation happened. We can use global function isNaN() to find out if the variable is a NaN.

BY Best Interview Question ON 25 Aug 2022