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

Replace use of for/of loops over Maps with forEach. #455

Merged
merged 1 commit into from
Jan 17, 2019
Merged

Conversation

justinfagnani
Copy link
Contributor

This makes the code safe against being compiled with non-spec-compliant for/of, which will usually expect an array. Previously properties would silently not work when compiled with Babel on many online code editor platforms.

This makes the code safe against being compiled with non-spec-compliant for/of, which will usually expect an array. Previously properties would silently not work when compiled with Babel on many online code editor platforms.
@sorvell sorvell added this to the 1.0.0 milestone Jan 17, 2019
@justinfagnani justinfagnani merged commit 9714582 into master Jan 17, 2019
@justinfagnani justinfagnani deleted the for-of branch January 17, 2019 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants