摘要: 1.单参数 function cheng(a=3){ return a*a; } let cheng= (a=3)=>a*a; console.log(cheng(9)); 2.多参数 function add(a,b){ return a+b; } let add = (a,b)=>a+b; // 阅读全文
posted @ 2016-12-09 16:21 Model-Zachary 阅读(250) 评论(0) 推荐(0) 编辑