🌈 搜索
📅  最后修改于: 2022-03-11 15:01:09.607000             🧑  作者: Mango
const arr = [14, 58, 20, 77, 66, 82, 42, 67, 42, 4] const min = arr.reduce((a, b) => Math.min(a, b)) console.log(min)