Here's the text:
The 'shuffle' function takes an array and returns a new array of the same size but with its elements randomly sorted.
More details: I'm talking about arrays in computer programming. The input array is [a, b, c, d, e] and the output is [b, a, e, d, c].
Yes, that's OK
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
The spelling is fine, but I would not use "sorted."
The 'shuffle' function takes an array and returns a new array of the same size but with its elements in a random order.