Ask a Question
asked this 4 years ago
What is the most reliable way to test if a variable is NaN?
1 year ago
You can use the isNaN() function which returns true if a value is not a number and false if it is a number.
Post as Guest