MAx second and first Number
const arr = [-1, -2, -3, 4, 5, 7, 8, 4];  let second =-Infinity let max=-Infinity let result = [];...
Tags: javascript, coding