Multiple choice

Which of the following functions is used to determine if the argument is a number?

  1. parseInt

  2. isNan

  3. isFinite

  4. eval

  5. isDigit

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The isNaN function evaluates an argument to determine if it is NaN (not a number). The syntax of isNaN is -  isNan(value_to_check);