reduce (callback, initialValue, reducerProperty) Objectpublic
Defined in packages/ember-runtime/lib/mixins/enumerable.js:685
This will combine the values of the enumerator into a single value. It is a useful way to collect a summary value from an enumeration. This corresponds to the reduce() method defined in JavaScript 1.8. The callback method you provide should have the following signature (all parameters are optional): function(previousValue, item, index, enumerable);
previousValue is