摘要: arr.reduce((prev, args) => prev.then(() =>bar(arg)), Promise.resolve()); function f() { console.log(tmp); if (false) { var tmp = 'hello world'; } } le 阅读全文
posted @ 2019-07-23 17:01 王利群 阅读(176) 评论(0) 推荐(0) 编辑