Array Sum

arraySum

Given an array of int values, return the sum.

The array nums can be of any length.

arraySum( { 1, 2, 3, 4 } ) => 10
arraySum( { 0, 0, 0} ) => 0
arraySum( {} ) => 0
arraySum( { -1, -9, -2 } ) => -12