From c9e0afd30891c7d69c92a99fe80fdb2ddbcd5052 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Thu, 6 Feb 2020 17:05:12 +0100 Subject: [PATCH] forgot console log --- src/index.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/index.ts b/src/index.ts index 4bef512..102ae9e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,11 +2,7 @@ import wordlist from './wordlist.json' const randomElementFromArray = (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++) {