Loading

摘要: //剩余参数 function sum(...arr){ console.log(arr) } sum(3,4,5,6) // 求数组最大值 let arr = [1,44,7,88] console.log(Math.max(...arr)) //合并数组 let arr2 = [2,5,77] 阅读全文
posted @ 2023-11-05 22:56 mingBolg 阅读(6) 评论(0) 推荐(0) 编辑