add async generator functions to docs
This commit is contained in:
parent
1b16ff3a0b
commit
2cd49b08ec
@ -76,21 +76,25 @@ always be used as little as possible.
|
|||||||
| Array comprehension | ✓ | ✓ | ✓ | | | |
|
| Array comprehension | ✓ | ✓ | ✓ | | | |
|
||||||
| Arrow functions | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Arrow functions | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Async functions | ✓ | ✓ | | ✓ | | |
|
| Async functions | ✓ | ✓ | | ✓ | | |
|
||||||
|
| Async generator functions | ✓ | ✓ | | | | |
|
||||||
| Classes | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Classes | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Computed property names | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
| Computed property names | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
||||||
| Constants | ✓ | ✓ | ✓ | | | |
|
| Constants | ✓ | ✓ | ✓ | | | |
|
||||||
| Default parameters | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
| Default parameters | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
||||||
| Destructuring | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Destructuring | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Exponentiation operator | ✓ | ✓ | | | | |
|
| Exponentiation operator | ✓ | ✓ | | | | |
|
||||||
|
| Flow types | ✓ | | | | | |
|
||||||
| For-of | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
| For-of | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
||||||
| Generators | ✓ | ✓ | | ✓ | | |
|
| Generators | ✓ | ✓ | | ✓ | | |
|
||||||
| Generator comprehension | ✓ | ✓ | | | | |
|
| Generator comprehension | ✓ | ✓ | | | | |
|
||||||
|
| JSX | ✓ | | | | | |
|
||||||
| Let scoping | ✓ | ✓ | ✓ | | | |
|
| Let scoping | ✓ | ✓ | ✓ | | | |
|
||||||
| Modules | ✓ | ✓ | | | ✓ | |
|
| Modules | ✓ | ✓ | | | ✓ | |
|
||||||
| Object rest/spread | ✓ | | | | | ✓ |
|
| Object rest/spread | ✓ | | | | | ✓ |
|
||||||
| Property method assignment | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Property method assignment | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Property name shorthand | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Property name shorthand | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Rest parameters | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Rest parameters | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
|
| React | ✓ | | | | | |
|
||||||
| Spread | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
| Spread | ✓ | ✓ | ✓ | ✓ | ✓ | |
|
||||||
| Template literals | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
| Template literals | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
|
||||||
| Unicode regex | ✓ | ✓ | ✓ | | | |
|
| Unicode regex | ✓ | ✓ | ✓ | | | |
|
||||||
|
|||||||
@ -49,6 +49,12 @@ async function chainAnimationsAsync(elem, animations) {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Async generator functions ([experimental](experimental.md)) ([spec](https://github.com/jhusain/asyncgenerator))
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
## Classes
|
## Classes
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user