var boolean = true;
var integer = 1;
var booleanInt = Number(boolean); // Type Coercion

if (integer == booleanInt)
            alert("Equal");
else
            alert("Not Equal");





Posted By  -  Karan Gupta
 
Posted On  -  Sunday, January 15, 2017

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250