javascript different from string code example
Example 1: not equal to sign in js
let a=12
if(a!=5){
console.log(true)
}
since a is not equal to 5, it will print true
Example 2: string comparison in javascript
console.log("10" == "10"); //True
console.log(parseInt(10) == 10); // True Best practice