Array - Math

Input

[20, 10, 5, 12, 2]

Output
Min
Max
Sum
Average
Asc Order
Desc Order
Median
Each number x2
Filtered number
Find a number
Coding Techniques Used
  • let, const keyword
  • spread (...) syntax
  • reduce(), sort(), reverse(), map(), filter() method
  • Arrow function (=>) for shorter syntax
  • Math object
  • CSS: Flexbox