Mega Code Archive

 
Categories / JavaScript Tutorial / Operators
 

Not identically equal operator

The not identically equal operator is represented by an exclamation point followed by two equal signs (!==) and returns true only if the operands are not equal without conversion. var sNum = "55"; var iNum = 55; alert(sNum != iNum);    //outputs "false" alert(sNum !== iNum);   //outputs "true"