Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js sort strings lowercase and uppercase

["Foo", "bar"].sort(Intl.Collator().compare); //["bar", "Foo"]
Source by attacomsian.com #
 
PREVIOUS NEXT
Tagged: #js #sort #strings #lowercase #uppercase
ADD COMMENT
Topic
Name
9+3 =