Minko Gechev on Twitter: "JavaScript tip: you can compare strings in a particular locale using String.prototype.localeCompare. The algorithm could be further configured by specifying sensitivity, ignoring punctuation, etc. https://t.co/WceReIEqAL ...
![JavaScript: Test case insensitive (except special Unicode characters) string comparison - w3resource JavaScript: Test case insensitive (except special Unicode characters) string comparison - w3resource](https://www.w3resource.com/w3r_images/javascript-string-image-exercise-37.png)