Extracted from Pike v8.0 release 240 as of 2016-05-30.
   

Method Array.sum()


Method sum

mixed sum(array a)

Description

Sum the elements of an array using `+. The empty array results in 0.