Comment Comment by eru What's the value of sum for an empty array in your example? parent eru 11 years ago