forgot console log

This commit is contained in:
cupcakearmy 2020-02-06 17:05:12 +01:00
parent a07dc2dab2
commit c9e0afd308
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

View File

@ -2,11 +2,7 @@ import wordlist from './wordlist.json'
const randomElementFromArray = <T>(arr: T[]): T => arr[Math.floor(Math.random() * arr.length)]
export const showAvailableLists = () => {
const keys = Object.keys(wordlist)
console.log(keys)
return keys
}
export const showAvailableLists = () => Object.keys(wordlist)
export const generate = (format: string = '{character}_{english}', maxReformats = 16): string => {
for (let i = 0; i < maxReformats; i++) {