Created
April 3, 2016 03:23
-
-
Save tsmd/e8d15a21dafe0de224bb8d25cb8b8783 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 hiragana_random(size) { | |
var str = ''; | |
while (size--) { | |
str += String.fromCharCode(12353 + Math.floor(Math.random() * 82)); | |
} | |
return str; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment