Sum of payload array

Is there a way to sum a payload array in a workflow node?

The easiest way would be to use Array.reduce() in the Function Node.

However, it can also be done with the Loop Node as well.