From 2cd49b08ec176bcaa923c24244f12f96c1bd0239 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 15 Dec 2014 13:56:22 +1100 Subject: [PATCH] add async generator functions to docs --- doc/differences.md | 4 ++++ doc/features.md | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/doc/differences.md b/doc/differences.md index 7a6189a84c..3694acfdff 100644 --- a/doc/differences.md +++ b/doc/differences.md @@ -76,21 +76,25 @@ always be used as little as possible. | Array comprehension | ✓ | ✓ | ✓ | | | | | Arrow functions | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Async functions | ✓ | ✓ | | ✓ | | | +| Async generator functions | ✓ | ✓ | | | | | | Classes | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Computed property names | ✓ | ✓ | ✓ | ✓ | ✓ | | | Constants | ✓ | ✓ | ✓ | | | | | Default parameters | ✓ | ✓ | ✓ | ✓ | ✓ | | | Destructuring | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Exponentiation operator | ✓ | ✓ | | | | | +| Flow types | ✓ | | | | | | | For-of | ✓ | ✓ | ✓ | ✓ | ✓ | | | Generators | ✓ | ✓ | | ✓ | | | | Generator comprehension | ✓ | ✓ | | | | | +| JSX | ✓ | | | | | | | Let scoping | ✓ | ✓ | ✓ | | | | | Modules | ✓ | ✓ | | | ✓ | | | Object rest/spread | ✓ | | | | | ✓ | | Property method assignment | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Property name shorthand | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Rest parameters | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | +| React | ✓ | | | | | | | Spread | ✓ | ✓ | ✓ | ✓ | ✓ | | | Template literals | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | Unicode regex | ✓ | ✓ | ✓ | | | | diff --git a/doc/features.md b/doc/features.md index 0efa77c58f..a5c55fda81 100644 --- a/doc/features.md +++ b/doc/features.md @@ -49,6 +49,12 @@ async function chainAnimationsAsync(elem, animations) { } ``` +## Async generator functions ([experimental](experimental.md)) ([spec](https://github.com/jhusain/asyncgenerator)) + +```javascript + +``` + ## Classes ```javascript