Sort:  

Yes. What really made me want to throw a fit was when an empty string passed. I used isNumber()

LOL, no I didn't ...

Screenshot of JavaScript console showing ! isNaN() in use