"std:iteration" exports
# Allen Wirfs-Brock (12 years ago)
this material will be gone from the next draft. At the last TC39 meeting we agreed that they were unnecessary.
this material will be gone from the next draft. At the last TC39 meeting we agreed that they were unnecessary. Allen On Oct 7, 2013, at 8:23 AM, Claude Pache wrote: > According to the latest version of the ES6 draft, section 25.2 [1], the "std:iteration" module exports these names: > > * iterator > * GeneratorFunction > * Generator > > I have two questions: > > 1. What does the "iterator" name refer to? My guess is that it is intended to give access the @@iterator symbol. > 2. If it represents indeed the @@iterator symbol, is it useful? since we can obtain that symbol via `Symbol.iterator` since rev.19 of the draft. > > —Claude > > [1] http://people.mozilla.org/~jorendorff/es6-draft.html#sec-std:iteration-exports > _______________________________________________ > es-discuss mailing list > es-discuss at mozilla.org > https://mail.mozilla.org/listinfo/es-discuss >
# Claude Pache (12 years ago)
Ok, thanks.
Ok, thanks. —Claude Le 7 oct. 2013 à 14:35, Allen Wirfs-Brock <allen at wirfs-brock.com> a écrit : > this material will be gone from the next draft. At the last TC39 meeting we agreed that they were unnecessary. > > Allen > > On Oct 7, 2013, at 8:23 AM, Claude Pache wrote: > >> According to the latest version of the ES6 draft, section 25.2 [1], the "std:iteration" module exports these names: >> >> * iterator >> * GeneratorFunction >> * Generator >> >> I have two questions: >> >> 1. What does the "iterator" name refer to? My guess is that it is intended to give access the @@iterator symbol. >> 2. If it represents indeed the @@iterator symbol, is it useful? since we can obtain that symbol via `Symbol.iterator` since rev.19 of the draft. >> >> —Claude >> >> [1] http://people.mozilla.org/~jorendorff/es6-draft.html#sec-std:iteration-exports >> _______________________________________________ >> es-discuss mailing list >> es-discuss at mozilla.org >> https://mail.mozilla.org/listinfo/es-discuss >> >
According to the latest version of the ES6 draft, section 25.2, the "std:iteration" module exports these names:
I have two questions:
Symbol.iterator
since rev.19 of the draft.