Array Shuffler

Array Shuffler

Write a function that takes an array as a parameter and returns a new array with the contents randomly "shuffled".

Example

shuffle([1,2,3,4,5]);
//returns [3,5,4,1,2]