摘要: // 箭头函数 let fun = () => { console.log('lalalala'); } // 普通函数 function fun() { console.log('lalla'); } 1、定义 箭头函数是匿名函数,不能作为构造函数,不能使用new 2、使用 1)开发时根据实际情况 阅读全文
posted @ 2020-02-15 23:27 SlightFly 阅读(169) 评论(0) 推荐(0)