Skip to content

Instantly share code, notes, and snippets.

View huntz20's full-sized avatar

huntz20

View GitHub Profile
@huntz20
huntz20 / string-utils.js
Last active February 27, 2020 18:08 — forked from jonlabelle/string-utils.js
Useful collection of JavaScript string utilities.
/**
* "Safer" String.toLowerCase()
*/
const WHITE_SPACES = [
" ",
"\n",
"\r",
"\t",
"\f",