Initial implementation of mean, median, and mode (done)

Done.
Nope, compiler takes care of that kind of stuff. Faster as in not iterating over the array. Try splice https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice, it doesn't to iterate because of the way javascript works.