Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
🙃

Serhii Sakal sakalx

:octocat:
🙃
View GitHub Profile
@sakalx
sakalx / string-utils.js
Created Sep 3, 2018 — forked from jonlabelle/string-utils.js
Useful collection of JavaScript string utilities.
View string-utils.js
// String utils
//
// resources:
// -- mout, https://github.com/mout/mout/tree/master/src/string
/**
* "Safer" String.toLowerCase()
*/
function lowerCase(str){
return str.toLowerCase();