我是HTML

摘要: /* * 1:函数参数的默认值 * */ !(() => { function f(x, y = 1, z = 1, g = 1) { console.log(x, y, z, g);//1,1,false,null } f(1, undefined, false, null); }... 阅读全文
posted @ 2018-11-20 10:27 你值得拥有xxx 阅读(177) 评论(0) 推荐(0) 编辑