Not the answer you're looking for? because I am masking for float. In JS everything is an object, but you should be aware about the following thing with new Object(): It can receive a parameter, and depending on that parameter, it will create a string, a number, or just an empty object. It's true that you'll get the same results but the engine works in a different way for both of them. I dont have the app to look myself, but heres a link to the accepted answer: @PaulD.Waite Ah, I see. Find centralized, trusted content and collaborate around the technologies you use most. Help us identify new roles for community members, Proposing a Community-Specific Closure Reason for non-English content. Help us identify new roles for community members, Proposing a Community-Specific Closure Reason for non-English content, parseInt() check for NaN isn't working properly. Simply I know that i can use == null, but I want to know that is there any other way that can be implemented to check if instance is null or not ?. How to smoothen the round border of a created buffer to make it look more natural? Wiktionary contributors for building a frequency list of English words as used in television and movies. Would it be possible, given current technology, ten years, and an infinite amount of money, to construct a 7,000 foot (2200 meter) aircraft carrier? Hebrews 1:3 What is the Relationship Between Jesus and The Word of His Power? Its string length is zero. Include an inline