Pike v8.1 release 6

Method Array.sum()


Method sum

mixed sum(array a)

Description

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