Claude Pache (2014-08-19T17:21:57.000Z)
domenic at domenicdenicola.com (2014-08-26T18:22:46.630Z)
Le 19 août 2014 à 15:21, Kevin Smith <zenparsing at gmail.com> a écrit : > Nice pattern! Would this also work? Sadly, it doesn't work; for the delegated iterator always receives `undefined` for its first iteration. :-( See [1], last algorithm of the section, step 5. [1]: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-generator-function-definitions-runtime-semantics-evaluation