Closed matheus-rodrigues00 closed 1 year ago
The randomizeArray method is at the numbers.ts module. Since it's more related to arrays than numbers, it should be moved to the arrays.ts module.
Extra improvement that can be made is the refactor to use the random method at the sort callback function.
The randomizeArray method is at the numbers.ts module. Since it's more related to arrays than numbers, it should be moved to the arrays.ts module.
Extra improvement that can be made is the refactor to use the random method at the sort callback function.