check if 2 strings are equal js code example
Example 1: compare if strings are equal javascript
new String("a").valueOf() == new String("a").valueOf()
Example 2: compare if strings are equal javascript
new String("a") == new String("a")
new String("a").valueOf() == new String("a").valueOf()
new String("a") == new String("a")