会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
zhishaofei3
任何事情都是从复杂到简单
博客园
首页
新随笔
联系
订阅
管理
2017年3月26日
es6 箭头函数(arrow function) 学习笔记
摘要: 箭头函数有两个好处。☕ 1.他们比传统函数表达式简洁。 2.箭头函数不会绑定关键字this,我们不需要用bind()或者that = this这种方法了 和this同样没有被箭头函数绑定的参数有 arguments super this new.target 例如: =>箭头函数并没有绑定 argu
阅读全文
posted @ 2017-03-26 12:18 zhishaofei3
阅读(1865)
评论(0)
推荐(0)
编辑
公告