Merge pull request #645 from tejasmanohar/mention_es7

docs: mention es2016 when discussing async functions
This commit is contained in:
jongleberry 2016-01-19 22:06:56 -08:00
commit 0c136fd04c

View file

@ -22,7 +22,7 @@ $ npm install koa
## v2 Alpha ## v2 Alpha
Koa v2 is currently in alpha. In this new version, the middleware function signature completely changes in favor of ES6 syntax: Koa v2 is currently in alpha. In this new version, the middleware function signature completely changes in favor of ES2015-2016 syntax:
```js ```js
// uses async arrow functions // uses async arrow functions