equals to(==) and exactly equals to(===) operator
/*distinction between ==,=== or !=,!== In JS, some literals falsy in nature, it means their nature is to prove false: undefined, null, false, "", 0, or NaN are falsy in nature, rest other types like number(except 0),string ,any object,function,array are truthy in nature. For example one can check if a variable is undefined(not initialized with any value): var vbn; now to check if is not null or undefined: either one can use if(vbn!=null || vbn != undefined){doSomething} or simple since null and undefined are falsy in nature above condition can be written like: if(vbn){doSomething} internally JS will eveluate like: if(!(undefined||null)) => if(!(falsy||falsy)) = > if(!falsy) Another example : lets say an object having a property with truthy value (not in undefined, null, false, "", 0, or NaN) var objj = { propX : "ValX"}; and we want to execute a condition that if propX really exists then do something: if(objj.propX){do...