This is another comaprison operator of javascript that are used to compare equal value and equal type of value.

<!DOCTYPE html>
<html>
<body>

<p>Assign 32 to x, and display the value of the comparison (x === 32):</p>

<p id="demo"></p>

<script>
var x = 32;
document.getElementById("demo").innerHTML = (x === 32);
</script>

</body>
</html>

OUTPUT :


Assign 32 to x, and display the value of the comparison (x === 32):


  • Prakash Singh

    very gud === operator

    • thank you for your valuable feedback… keep learning