javascript check if string is equal to 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")