摘要: 1.箭头函数与function定义函数的写法: //function function fn(a, b){ return a + b; } //arrow function var foo = (a, b)=>{ return a + b }; 2.this的指向:使用function定义的函数,t 阅读全文
posted @ 2021-03-02 17:40 一抒山河 阅读(1284) 评论(0) 推荐(2)