comparison equals in javascript code example
Example 1: != javascript
// " != " in Javasacript means : not equal.
Example 2: string comparison in javascript
console.log("10" == "10"); //True
console.log(parseInt(10) == 10); // True Best practice