Javascript course simple question

equality operator retruen equal if we check 10 == 12 i think this is false
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";


And you will see that console says its not equal.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.