摘要:
运算符的扩展: 用(...)将一个数组转换成逗号分割进行处理 function add(x,y){ return (x+y); } console.log(add(...[10,20]));//30 console.log(Math.max(...[1,2,3,4,5]));//求取最大值 cons 阅读全文
posted @ 2021-11-26 20:00
盐焗海王星
阅读(23)
评论(0)
推荐(0)
浙公网安备 33010602011771号