strcmp javascript code example
Example: string comparison in javascript
console.log("10" == "10"); //True
console.log(parseInt(10) == 10); // True Best practice
console.log("10" == "10"); //True
console.log(parseInt(10) == 10); // True Best practice