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

Fix for multiple generators in a loop example code Scala/JS #3038

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

LOsioChico
Copy link
Contributor

What's wrong?

  • The Scala 3rd nested loop has an increment by 5 and the JS example has increment by 1

Fix

  • Update the 3rd nested loop on JS to increment by 5 like the Scala example

Code on page:
image

Fix implementation:
image

Reference

Page Link: https://docs.scala-lang.org/scala3/book/scala-for-javascript-devs.html

@sjrd sjrd merged commit 849307d into scala:main Jul 1, 2024
1 check failed
@LOsioChico LOsioChico deleted the patch-2 branch July 1, 2024 10:33
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

Successfully merging this pull request may close these issues.

2 participants