数组和集合 / 数组

let numbers = [235711];
let min = Math.min( ...numbers )
//min is 2
let max = Math.max( ...numbers )
//max is 11

console.log("min = " + min);
console.log("max = " + max);