open_in_new
content_copy
const arrMax = arr => Math.max(...arr); // arrMax([20, 10, 5, 10]) -> 20