TIL localeCompare() #Javascript developer.mozilla.org/en-US/docs/W...
developer.mozilla.orgString.prototype.localeCompare() - JavaScript | MDNThe localeCompare() method of String values returns a number indicating whether this string comes before, or after, or is the same as the given string in sort order. In implementations with Intl.Colla...
0 reposts1 like