@CHenrie Lets use isNaN here instead of typeof. isNaN performs much better: http://jsperf.com/typeof-vs-isnan-swiftie