Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does Symbol.iterable method exist? #73

Closed
HyunSeob opened this issue Mar 1, 2016 · 2 comments
Closed

Does Symbol.iterable method exist? #73

HyunSeob opened this issue Mar 1, 2016 · 2 comments

Comments

@HyunSeob
Copy link
Contributor

HyunSeob commented Mar 1, 2016

A paragraph written about Symbol.iterable

A notable example of Symbol use for interoperability is Symbol.iterable which exists on all iterable and iterator types in ES6: Arrays, strings, generators, etc. When called as a method it returns an object with an Iterator interface.

I had been looking for Symbol.iterable. But, I can't find anything about Symbol.iterable.
I'm not sure.. But I think you just mistook Symbol.iterator with Symbol.iterable.

@DrkSephy
Copy link
Owner

DrkSephy commented Mar 1, 2016

It should be Symbol.iterator. Thank you!

@DrkSephy DrkSephy closed this as completed Mar 1, 2016
DrkSephy added a commit that referenced this issue Mar 1, 2016
@HyunSeob
Copy link
Contributor Author

HyunSeob commented Mar 1, 2016

Good!

@HyunSeob HyunSeob changed the title Do Symbol.iterable method exist? Does Symbol.iterable method exist? Apr 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants