add spread caveat and add generator comprehension and react/jsx to features

This commit is contained in:
Sebastian McKenzie
2014-11-12 18:27:05 +11:00
parent 5f3408b2a2
commit 3578135b90

View File

@@ -64,11 +64,13 @@ It's as easy as:
- [Destructuring](FEATURES.md#destructuring)
- [For-of](FEATURES.md#for-of)
- [Generators](FEATURES.md#generators) via [regenerator](https://github.com/facebook/regenerator)
- [Generator comprehension](FEATURES.md#generator-comprehension)
- [Let scoping](FEATURES.md#let-scoping)
- [Modules](FEATURES.md#modules)
- [Numeric literals](FEATURES.md#numeric-literals)
- [Property method assignment](FEATURES.md#property-method-assignment)
- [Property name shorthand](FEATURES.md#property-name-shorthand)
- [React/JSX](#reactjsx)
- [Rest parameters](FEATURES.md#rest-parameters)
- [Spread](FEATURES.md#spread)
- [Template literals](FEATURES.md#template-literals)
@@ -331,6 +333,11 @@ class Bar extends Foo {
}
```
### Spread
An [ES6 polyfill](#polyfill) is required in order for spread to work. More
specifically a polyfill for `Array.from`.
### Generators
The [regenerator runtime](https://github.com/facebook/regenerator/blob/master/runtime.js)