摘要: Learn how two common array functions - map() and filter() - are syntactic sugar for reduce operations. Learn how to use them, how to compose them, and... 阅读全文
posted @ 2015-11-29 18:00 Zhentiw 阅读(200) 评论(0) 推荐(0) 编辑
摘要: For Redux, you cannot use mutable methods like push, splice. Need to use immutable methods such as concat, slice and ...spreadHtml: JS Bin push(... 阅读全文
posted @ 2015-11-29 01:29 Zhentiw 阅读(932) 评论(0) 推荐(0) 编辑
摘要: Currying is a core concept of functional programming and a useful tool for any developer's toolbelt.Example 1:let f = a => b => c => a+b+c;let result ... 阅读全文
posted @ 2015-11-29 00:50 Zhentiw 阅读(197) 评论(0) 推荐(0) 编辑