From 5248c4265a1a18b25470041eec295ab1b8b6415f Mon Sep 17 00:00:00 2001 From: Omer M Date: Tue, 8 Aug 2023 15:08:15 +0300 Subject: [PATCH] refactor: removed the description of shuffleArray --- other/shuffle_array.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/other/shuffle_array.ts b/other/shuffle_array.ts index e417b756..04a5b701 100644 --- a/other/shuffle_array.ts +++ b/other/shuffle_array.ts @@ -1,9 +1,3 @@ -/** - * @function shuffleArray - * @description shuffles an array. - * @param {number[]} arr - array to shuffle - * @returns {void} - the function does not return anything -*/ export function shuffleArray(arr: number[]) { for (let i = arr.length - 1; i > 0; i--) { const j = Math.floor(Math.random() * (i + 1));