Shuffle array elements
A simple example of shuffling the array elements.
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
var numbers = [1,2,3,4,5,6,7,8,9,10,11,12];
numbers = numbers.sort(function() {return Math.random() - 0.5});
console.log(numbers);
</script>
</body>
</html>