function largestOfFour(arr, finalArr = []) { return !arr.length ? finalArr : largestOfFour(arr.slice(1), finalArr.concat(Math.max(...arr[0]))) }