-
第172天 ES5和ES6、ES7有什么区别?
-
你知道es7新增了哪些新的特性吗?
-
I'm now operating under an environment that supports generators out of the box. I'd still like to convert my async functions however. Babel has asyncToGenerator for this, but that seems to behave pret…
-
之前的老文章,换了个地方写博客,,所以得重新发布下~~
# Control Flow
async是Nodejs中非常常用的一个工具模块,其中方法有很多,主要分3大类(集合,流程控制,工具),下面就简单说说 **流程控制** 的一些常用方法
### series(tasks, [callback])
它的作用就是按照顺序依次执行。
``` javascript
async.series({
…
-
> 最近看了篇文章解释的非常好,这里翻一下
原文:[JavaScript — WTF is ES6, ES8, ES 2017, ECMAScript… ?](https://codeburst.io/javascript-wtf-is-es6-es8-es-2017-ecmascript-dca859e4821c)
![image](https://user-images.githubu…
-
## 相关链接
1. [微信小程序:回调,Promise,async,await 的使用例子](http://t.cn/RuKY0ex)
2. regenerator-runtime[![GitHub stars](https://img.shields.io/github/stars/facebook/regenerator.svg?style=social&label=Stars)](…
-
Basically we are only supporting up to html5 (not es6)
https://babeljs.io/
this will allow any es6 features we use to be transformed into es5
-
-
To ensure that all async user-provided functions can use either a callback or a promise, a utility method should be created that normalizes everything into returning a promise. It'll simplify the code…
-
I haven't found any way to not make js3-mode unhappy about certain features of ES6 code (namely default parameters). Is there an option I'm missing?