how to compare in javascript code example
Example 1: equal to or more than javascript
//Equal to or more than
a >= b
//Equal to or less than
a <= b
Example 2: string comparison in javascript
console.log("10" == "10"); //True
console.log(parseInt(10) == 10); // True Best practice