Bandingkan apakah string sama dengan javascript
new String("a").valueOf() == new String("a").valueOf()
Fierce Falcon
new String("a").valueOf() == new String("a").valueOf()
var string1 = "Hello World";
var string2 = "Hello world.";
if (string1 === string2) {
console.log("Matching strings!");
}
else {
console.log("Strings do not match");
}
new String("a") == new String("a")