Q. What is the purpose of the isNaN() function? (A) Checks if a value is NaN (B) Checks if a value is not a number (C) Checks if a value is null (D) Both a and b ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (D) Both a and b Explanation: isNaN() returns true if the value is NaN or not a number.