Yngvarr

Generation

generate functionTue, 15 Nov 2022

выбрать самый большой массив

function largestOfFour(arr) { return arr.map(Function.apply.bind(Math.max, null)); } largestOfFour([[4, 5, 1, 3], [13, 27, 18, 26], [32, 35, 37, 39], [1000, 1001, 857, 1]]);

Questions about programming?Chat with your personal AI assistant