String comparision and string similarity in javascript
JavaScript helps to compare the two different strings. A comparison of strings in java-script is quite an easy task. In java-script string, the operation can be done using the equals to the operator. For example: var string1 = “this is a text”; var string2 = “this is a text”; sting1 == string2 //true For strict […]