Yngvarr

Generation

generate functionWed, 16 Nov 2022

Math.max() в многомерном массиве

let arr = [1, 2, 3] let max = arr[0] for (let i = 0; i < arr.length; i++) { if (arr[i] > max) { max = arr[i] } }

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant