complexData = [ {a: 4}, {a: 18}, {a: 51} ]; sum = arrayReduce( complexData, function(prev, element){ return prev + element.a; }, 0 ); writeDump(sum);