Mega Code Archive
Categories
/
JavaScript Tutorial
/
Array
Using sum method from zArray Library
sum() Example 1
sum() Example 1
This example defines an array [6,4,9,10,8] and then prints out the sum of those numbers.