mirror of
https://github.com/cupcakearmy/canihazusername.git
synced 2024-12-21 23:26:25 +00:00
forgot console log
This commit is contained in:
parent
a07dc2dab2
commit
c9e0afd308
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user