equality operator retruen equal if we check 10 == 12 i think this is false
and
and 7 === 12 is also not equal but in question 58/60 they give equal but i think they are not equal
kindly check the series of javascript and tell me ans
Hi! I check those exercises and the result is not equal, maybe the exercise text result confusing but if you want to be sure post this
function testEqual(val) {
if (val==12) { // Change this line
return "Equal";
}
return "Not Equal";
}
testEqual(10);
console.log(testEqual(10))
And you will see that console says its not equal.