摘要: We often want to check if an array includes a specific item. It's been common to do this with the Array.prototype.indexOf method, but now we have a si 阅读全文
posted @ 2017-02-17 18:58 Zhentiw 阅读(223) 评论(0) 推荐(0)
摘要: Handling your logic with composable functions makes your code declarative, leading to code that's easy to read and easy to test. Breaking that up to w 阅读全文
posted @ 2017-02-17 18:50 Zhentiw 阅读(436) 评论(0) 推荐(0)