isNaN function lab
Easy
31
4
69.7% Acceptance
In this lab, you will create a function called isNumberNaN
that takes a single input and checks if the input is NaN or not. The function should return true if the input is NaN, and false otherwise. We will be using the isNaN()
function provided by JavaScript to achieve this task.
Make sure to use ESM (ECMAScript Modules) syntax for imports and exports.