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

Implement String.prototype[@@iterator]() #752

Closed
jasonwilliams opened this issue Oct 1, 2020 · 0 comments · Fixed by #704
Closed

Implement String.prototype[@@iterator]() #752

jasonwilliams opened this issue Oct 1, 2020 · 0 comments · Fixed by #704
Labels
E-Medium Medium difficulty problem enhancement New feature or request good first issue Good for newcomers Hacktoberfest Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com

Comments

@jasonwilliams
Copy link
Member

ECMASCript feature
Implement Implement String.prototype[@@iterator]()

MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/@@iterator
Spec: https://tc39.es/ecma262/#sec-string.prototype-@@iterator

Now that we have Symbols and Well Known symbols, this should be possible.

It will be similar to our implementation of charCodeAt

Contributing: https://github.com/boa-dev/boa/blob/master/CONTRIBUTING.md
Debugging: https://github.com/boa-dev/boa/blob/master/docs/debugging.md

@jasonwilliams jasonwilliams added enhancement New feature or request good first issue Good for newcomers E-Medium Medium difficulty problem labels Oct 1, 2020
@HalidOdat HalidOdat linked a pull request Oct 2, 2020 that will close this issue
@HalidOdat HalidOdat added the Hacktoberfest Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com label Oct 2, 2020
@HalidOdat HalidOdat changed the title Implement String.prototype[@@iterator]() Implement String.prototype[@@iterator]() Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-Medium Medium difficulty problem enhancement New feature or request good first issue Good for newcomers Hacktoberfest Hacktoberfest 2021 - https://hacktoberfest.digitalocean.com
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants