Javascript Revisited - Finding the Sum, Mean, Median

By on

Write four functions: sum, mean, and median. Each accepts an array

and returns its respective calculation.

The syntax seems more like C++ than ruby.

image

Updated