open_in_new
content_copy
const min = (list) => Math.min(...list); const max = (list) => Math.max(...list);