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
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to