
To randomly sort items in an array using sort(), call the method on the array and pass in a compare function that returns both negative and positive values.
On a journey to becoming a Frontend Engineer and a better human!
I am a Frontend Engineer and a Creative Developer. I love learning and sharing my journey to inspire others.
Markdown supported · ⌘↵ to post
No responses yet.