Misunderstanding on parsing Boolean

Learn about how to parse boolean in Javascript. Creating a boolean value using Boolean constructor var b = new Boolean(); b is an object which have the value false in it. But the problem here is most of the beginner think as we can use directly in if , but it results to misunderstanding if(b) { …

Create your own website, free on WordPress.com.Create your own website.
Start free