Return Largest Numbers in Arrays
function largestOfFour(arr) {
let myArr = []
for (let a of arr){
console.log(a)
myArr.push(Math.max.apply(null, a))
}
return myArr;
}
largestOfFour([[4, 5, 1, 3], [13, 27, 18, 26], [32, 35, 37, 39], [1000, 1001, 857, 1]]);