摘要: sortBy:var collection = ['John', 'Petteri', 'Antti', 'Joonas', 'Zhentian'];var sorted = _.sortBy(collection);//[ 'Antti', 'John', 'Joonas', 'Petteri',... 阅读全文
posted @ 2015-03-04 03:52 Zhentiw 阅读(984) 评论(0) 推荐(0) 编辑
摘要: Using ES6To use ES6, we need loader.Modify webpack.config.js file:module.exports = { entry: './index.js', output: { filename: 'bundle.js'... 阅读全文
posted @ 2015-03-04 03:21 Zhentiw 阅读(3636) 评论(0) 推荐(0) 编辑