Reduce Method in javascript syntax code example Example: Reduce Method in javascript syntax array.reduce(function(total, currentValue, currentIndex, arr), initialValue)