RedDoorz interview question

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