JavaScript Comparison Operators
There are many comparison operators in javascript. comparison operators use for check conditions.
1) >
2) <
3) >=
4) <=
5) ==
6) ===
7) !=
Code Example
let a = 25;
let b = 15;
document.write(a > b);
document.write(a < b);
document.write(a >= b);
document.write(a <= b);
document.write(a == b);
document.write(a === b);
document.write(a != b);
See more details please watch my video Click Here
Tags
JavaScript