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