diff --git a/doc/caveats.md b/doc/caveats.md index 3c56ac72bf..04de894183 100644 --- a/doc/caveats.md +++ b/doc/caveats.md @@ -1,5 +1,10 @@ # Caveats +## Async/Generators + +The [regenerator runtime](https://github.com/facebook/regenerator/blob/master/runtime.js) +and an [ES6 polyfill](polyfill.md) are required in order for generators to work. + ## Classes Built-in classes such as `Date`, `Array` and `DOM` cannot be subclassed due to @@ -32,11 +37,6 @@ A polyfill is required for for-of functionality that implements `Symbol` and adds `prototype[Symbol.iterator]` behaviour to built-ins. Using the polyfills specified in [polyfill](polyfill.md) suffices. -## Generators - -The [regenerator runtime](https://github.com/facebook/regenerator/blob/master/runtime.js) -and an [ES6 polyfill](polyfill.md) are required in order for generators to work. - ## Spread An [ES6 polyfill](polyfill.md) is required in order for spread to work. More