Is it Safe to Compare JavaScript Strings?

2 similar-looking strings in JavaScript might not be equal… so how would you safely compare strings?

2 similar-looking strings in JavaScript might not be equal... so how would you safely compare strings?
Print Share Comment Cite Upload Translate
CITATION GOES HERE CITATION GOES HERE
Select a language: