[1,2,3,4,5].reduceRight((acc, val) => acc+=val, 0);