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

product-of-elements #2

Closed
TheSTL opened this issue Sep 7, 2019 · 1 comment
Closed

product-of-elements #2

TheSTL opened this issue Sep 7, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@TheSTL
Copy link
Member

TheSTL commented Sep 7, 2019

for (let i = arr.length - 1; i > 0; i -= 1)

(At line 24 of src/Problems/product-of-elements/index.js)

It should be :

for (let i = arr.length - 1; i >= 0; i -= 1)
@TheSTL TheSTL added the bug Something isn't working label Sep 7, 2019
@ashokdey
Copy link
Member

ashokdey commented Sep 7, 2019

Noted. And thanks for resolving the bug in PR: #3

@ashokdey ashokdey closed this as completed Sep 7, 2019
ashokdey pushed a commit that referenced this issue Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants