![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
es6
文章平均质量分 61
kiwi小白
这个作者很懒,什么都没留下…
展开
-
【ES6】之 Arrow Function箭头函数
基本语法1. 更简洁的代码,摆脱function[1, 2, 3].map(function(x) { return x * 2});es6:[1, 2, 3].map(x => x * 2);2.语义化的this在es6之前,函数都定义了自己的this值,这样会带来一些混乱//在strict mode下var self = this;a原创 2016-03-29 18:21:23 · 3776 阅读 · 0 评论 -
redux笔记
IntroductionMotivationhttp://redux.js.org/docs/introduction/Motivation.htmlMutation & AsynchronicitySolving by imposing certain restrictions -- PrinciplesPrincipleshttp://redux.js.转载 2016-03-30 18:22:03 · 2045 阅读 · 0 评论