JavaScript Progress from FreeCodeCamp var array = [1, 12, 21, 2];
// Only change code below this line.
array.sort(function(a, b){ return b - a; });
var array = [1,2,3,4,5,6,7]; var newArray = [];
// Only change code below this line.
newArray = array.reverse();