From b11540b0163e3ca484cef7f9b688208a451f0a6c Mon Sep 17 00:00:00 2001 From: Chesterkxng Date: Sun, 7 Jul 2024 20:49:09 +0000 Subject: [PATCH] comment improvement --- src/pages/list/find-most-popular/service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/list/find-most-popular/service.ts b/src/pages/list/find-most-popular/service.ts index 6850755..3c812b9 100644 --- a/src/pages/list/find-most-popular/service.ts +++ b/src/pages/list/find-most-popular/service.ts @@ -2,7 +2,7 @@ export type SplitOperatorType = 'symbol' | 'regex'; export type DisplayFormat = 'count' | 'percentage' | 'total'; export type SortingMethod = 'count' | 'alphabetic'; -// Function that analyzes the array and returns a dict of element occurrences and handle the ignoreItemCase +// Function that takes the array as arg and returns a dict of element occurrences and handle the ignoreItemCase function dictMaker(array: string[], ignoreItemCase: boolean ): { [key: string]: number } {