I am practicing the comparison operators in an if/else statement. My question is that I am expecting the window will give me a True alert, but instead it gave me the False alert. I thought the system will coerce num1 into 97 before it performs the comparison.
Here is my code:
var num1 = "a";
var num2 = 99999;
if (num1 <= num2) {
window.alert("True");
}else {
window.alert("False");
}
aas number97?