max method

int max()

Implementation

int max() {
  return reduce((a, b) => a > b ? a : b);
}