摘要: function x(...list){ return list.reduce((sum,n)=>sum+n,0); } x(1,2,3); // 6 x(); // 0 阅读全文
posted @ 2020-11-30 01:04 new一个小洛 阅读(69) 评论(0) 推荐(0)