const numbers = [1,-1,8,2,3];

let sum  = numbers.reduce( (acc,val)=> acc + val );
let findMax = numbers.reduce( (acc, val) => val>acc ? val : acc );
let findMin = numbers.reduce( (acc, val) => val < acc? val : acc );

console.log({sum})
console.log({findMax});
console.log({findMin});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.