Created
October 18, 2014 12:31
-
-
Save almost/7357cd06d6b88b75b71e to your computer and use it in GitHub Desktop.
This file contains 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 play (x) { | |
x += '' | |
r = [] | |
for (i = -1; ++i < x.length;) | |
r.push('zero two three five six seven eight'.split(' ')[x[i]]) | |
return r.join(' ') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment