docs: mention es2016 when discussing async functions

This commit is contained in:
Tejas Manohar 2016-01-19 00:42:28 -08:00
parent fcacb35220
commit b44fe436c6

View file

@ -22,7 +22,7 @@ $ npm install koa
## 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
// uses async arrow functions