ArraySum
Last updated
Was this helpful?
Was this helpful?
numberArray = [];
writeOutput( arraySum( numberArray ) );
numberArray = [
10,
99,
27,
72
];
writeOutput( numberArray.sum() );
numberArray = [
10,
99,
27,
72
];
dump( arraySum( numberArray ) );
// member function
dump( numberArray.sum() );