Difference between primitive boolean value and boolean object

var booleanValue = new Boolean(false);

if(booleanValue) // this condition verifies to true

if(booleanValue == true) // this condition verifies to false

No comments:

Post a Comment

Overview of AngularJS

AngularJS is an open source web application framework. It is now maintained by Google . The most of the code can be eliminated by using th...