扩展运算符
摘要:
函数:停止使用arguments 这里主要我使用时经常的遗漏点,和相对高级的注意点 不定参数 常用...args(参数中使用...扩展运算符) js const fn=(...args){ console.log( ) for(let arg of args){ console.log( ) } } 阅读全文
posted @ 2017-06-18 19:18 李可在江湖 阅读(374) 评论(0) 推荐(0) 编辑
2017年6月18日 #