DEV Community

Discussion on: 9 Extremely Powerful JavaScript Hacks

Collapse
 
alonshmiel profile image
alonshmiel • Edited

Hi, nice article!

Shuffling by -0.5 is not good in execution time.
It may be less harmful if the array is small.