Fixed isNan <-> isNaN typo.