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

Question: Example for instance iteration in the readme #124

Closed
DRocksCoding opened this issue Jun 16, 2020 · 2 comments
Closed

Question: Example for instance iteration in the readme #124

DRocksCoding opened this issue Jun 16, 2020 · 2 comments

Comments

@DRocksCoding
Copy link

Hello and huge thanks for the module!

Could you please provide an example of this quote from the readme:

The instance is iterable so you can use it directly in a for…of loop.

What could you do with that? I'm fairly new to JS btw so excuse my ignorance.

Thanks in advance

@DRocksCoding
Copy link
Author

https://www.google.no/search?q=javascript+iterable+for-loop&ie=UTF-8&oe=UTF-8&hl=en-us&client=safari

Thanks...Obviously I read that before asking. As I said sorry for my lack of creativity with that iteration topic. I just dont see where you would use it. I thought you could show a simple scenario where you personnally would use the instance iteration feature.
Thanks for your quick reply.

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