matheus-rodrigues00 / utils

✨ Library to commonly used cross-projects utilities methods ✨
17 stars 11 forks source link

Move randomizeArray Method #32

Closed matheus-rodrigues00 closed 1 year ago

matheus-rodrigues00 commented 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.