support array destructuring on iterables - fixes #194

This commit is contained in:
Sebastian McKenzie
2014-11-19 21:10:40 +11:00
parent 102a566b1d
commit fb39df71eb
17 changed files with 121 additions and 59 deletions

View File

@@ -37,7 +37,7 @@ 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.
## Spread
### Array destructuring / Spread
An [ES6 polyfill](polyfill.md) is required in order for spread to work. More
specifically a polyfill for `Array.from`.
An [ES6 polyfill](polyfill.md) is required for spread and array destructuring.
More specifically a polyfill for `Array.from`.