This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Write THREE functions: sum, mean, and median. Each accepts an array | |
and returns its respective calculation. | |
Below you will find driver code. Run the code in this file either from the command line | |
using Node.js or by pasting the code of this entire file into your | |
browser console. All tests will log 'true' in the console when | |
they pass--false, otherwise. | |