Domanda di colloquio di RedDoorz

Calculate the sum of all elements in array using a Higher Order Function.