Skip to content

Instantly share code, notes, and snippets.

@dubzzz
Created February 3, 2019 20:18
Show Gist options
  • Save dubzzz/0214f3dd189c017af1d62aa113b10f68 to your computer and use it in GitHub Desktop.
Save dubzzz/0214f3dd189c017af1d62aa113b10f68 to your computer and use it in GitHub Desktop.
Moreover, the lower or upper case value of a character depends on the locale...
'Istanbul'.toLocaleLowerCase('US') // result: 'istanbul'
'Istanbul'.toLocaleLowerCase('TR') // result: 'ıstanbul'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment