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 Codeblock of arr.reduce() alternative #35

Merged
merged 3 commits into from
Jul 29, 2022

Conversation

aurora-0025
Copy link
Contributor

The index inside args[index] is not defined so fixed it by using a regular for loop.

Also replaced the ':' with a ';'

Replaced ':' with ';'
Index was not defined so changed for of to regular for loop
fix(book): fixed code block
changed string[index] to strings[index]
@mfrachet mfrachet merged commit bf90324 into mfrachet:master Jul 29, 2022
@mfrachet
Copy link
Owner

Thanks for the correction :)

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.

None yet

2 participants