Iterator interface should not have @@iterator method
Open
bug
iterators
Library definitions
- Dominant language
- Rust
- Stars
- 22.3k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
[25.1.1.2 The Iterator Interface](http://www.ecma-international.org/ecma-262/6.0/#sec-iterator-interface) must have only `next` method. ATM both `interface $Iterator` and `interface $Iterable` have `@@iterator` method. Why is that?
Contributor guide
Assessment
This issue has not been assessed yet.