Задача Codewars: isReallyNaN

Codewars, 8-й уровень, задача isReallyNaN. NaN означает not a number.