Skip to content

Instantly share code, notes, and snippets.

@acro5piano
Created June 15, 2022 05:26
Show Gist options
  • Save acro5piano/349193fa10a3cc0e58887753ac0d12e7 to your computer and use it in GitHub Desktop.
Save acro5piano/349193fa10a3cc0e58887753ac0d12e7 to your computer and use it in GitHub Desktop.
get random Hiragana
function main() {
const res =
'あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわをんー'
.split('')
.sort(() => Math.random() - 0.5)
console.log(...res)
setTimeout(main, 50)
}
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment