isNumber(new Number(5)) is false
hackhat opened this issue · 4 comments
hackhat commented
I'd never use new Number but I think is a use case that should be handled... because is actually a number.
lessfish commented
it will return true, what's your code?
lessfish commented
I'm sorry, I see the lib of 4.0.0, so the feature is removed, I don't know why
bodadotsh commented
The use of Number constructor new Number() is believed to be a bad practice by many so the lib is right in keeping things consistent
jonschlinkert commented
Closing, for the same reasons mentioned by @bodazhao in #18 (comment)