Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 290 Bytes

File metadata and controls

16 lines (11 loc) · 290 Bytes

JavaScript-Progress

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();