On 9/26/2013 10:40 PM, Brandon Benvie wrote:
```js
function* foo() {
  yield 'what';
  yield 'ever';
  return "DONE";
}

function* bar() {
  console.log(yield* foo());
}
```

Err, this logs "DONE" when you do:

```js
var gen = bar();
gen.next();
gen.next();
gen.next();
```
but you got the idea...
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to