Generally, Math functions that are given non-numeric arguments will return NaN.
Math
Math.floor("a")
The square root of a negative number returns NaN, because Math.sqrt does not support imaginary or complex numbers.
Math.sqrt
Math.sqrt(-1)