#每天一个知识点#
普通函数、箭头函数的区别?

箭头函数不绑定 arguments,可以使用 ...args 代替
箭头函数没有 prototype 属性,不能进行 new 实例化,亦不能通过 call、apply 等绑定 this
箭头函数的this指向创建时父级的this
展开
评论