Create ArraySum

Tallies the sum of the array numbers. Another option from professor:
var myList = [2, 5, 3, 1, 4];

var total = 0;

for (var i = 0; i < myList.length; i++) {

 total += myList[i];

}

console.log("Total: " + total);