how to copare to sring elements in java scrpt 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