Created
June 28, 2018 14:36
-
-
Save gerzenstl/fec6c9158db16c205abe2c332bc5220f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getMachineName(text) { | |
| return text.toLowerCase().replace(/\W/g, '-'); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment