Execution phase − in the execution phase, the engine will run the code. Also, the variables are declared and throw any other error that may occur.
== operator is used to test for checking abstract equality of two values. This means in this comparison the equality of values is checked, the type of data is not checked for equality.
=== operator is used to check for strict equality of two values. This means in this comparison both types and equality of the data are checked.
<script> document.write(34 == "34"); document.write('<br>') document.write(98 === "98"); </script>
Some values that convert back to TRUE boolean value are −
Some values that convert back to FALSE boolean value are −