"std:iteration" exports

# Claude Pache (12 years ago)

According to the latest version of the ES6 draft, section 25.2, 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.
# 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.

# Claude Pache (12 years ago)

Ok, thanks.