Skip to content

Instantly share code, notes, and snippets.

View sakalx's full-sized avatar
:octocat:
🙃

Serhii Sakal sakalx

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