An improved isNumeric() function?
In my opinion, if it’s an array then its not numeric. To alleviate this problem, I added a check to discount arrays from the logic You can have that problem with any other object as well, for example {toString:function(){return “1.2”;}}. Which objects would you think were numeric? Number objects? None? Instead of trying to blacklist …