Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 242 Bytes

File metadata and controls

10 lines (6 loc) · 242 Bytes

SHUFFLE ARRAY

[Back to Challenges]

Write a function that randomly shuffles an array.

Example:

['A', 'B', 'C', 'D', 'E', 'F'] => ['E', 'C', 'B', 'A', 'F', 'D']