Underscore.js Collections: Shuffle

HTML

<script src="http://documentcloud.github.com/underscore/underscore-min.js"></script>
<a target="parent" href="http://underscorejs.org/#shuffle">Learn More</a>

JavaScript

var testShuffle = _.shuffle([6, 1, 4, 2, 3, 5] );

console.log(testShuffle);
// "Random" order...
// [4, 1, 3, 6, 2, 5] 
// [4, 1, 2, 5, 3, 6] 
// [5, 3, 6, 1, 4, 2]