JavaScript Comparing strings | localeCompare() method examples
Use Javascript localeCompare() method to compares two strings in the current locale. This method returns 0 if both the strings are equal. Note: The locale is… Read More »JavaScript Comparing strings | localeCompare() method examples