Comparison operators - Strict Inequality
console.log()
statement below we use the Strict Inequality operator to check whether numOne and numTwo have different values or if they are of different types. And we also use the Equality operator to check whether numOne and numTwo have the same value (not considering their types). Change the code so that both expressions inside the console.log()
statement logs true
.
Get a premium membership to access this content: