src/AbstractIterable.js
/** Returns an array with the elements of the iterable with the greater
   * evaluation (or numerical conversion by default).
   *
   * @param {function(T):number} [evaluation=null] - A function with which to
   *   evaluate the values in this sequence.
   * @returns {T[]}
   */
Returns an array with the elements of the iterable with the greater
evaluation (or numerical conversion by default).

@param {function(T):number} [evaluation=null] - A function with which to
evaluate the values in this sequence.
Returns an array with the elements of the iterable with the greater evaluation ( or numerical conversion by default ) . @param { function ( T ) : number } [ evaluation = null ] - A function with which to evaluate the values in this sequence .
greater(evaluation = null) {
    evaluation = evaluation || toNumber;
    let maxEval = -Infinity;
    return this.reduce((result, value) => {
      const e = evaluation(value);
      if (maxEval < e) {
        maxEval = e;
        result = [value];
      } else if (maxEval === e) {
        result.push(value);
      }
      return result;
    }, []);
  }
greater ( evaluation = null ) { evaluation = evaluation || toNumber ; let maxEval = - Infinity ; return this . reduce ( ( result , value ) => { const e = evaluation ( value ) ; if ( maxEval < e ) { maxEval = e ; result = [ value ] ; } else if ( maxEval === e ) { result . push ( value ) ; } return result ; } , [ ] ) ; }
Returns an array with the elements of the iterable with the greater
 evaluation (or numerical conversion by default).
Returns an array with the elements of the iterable with the greater evaluation ( or numerical conversion by default ) .