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

Issue in test.js - add_all() #3

Closed
ext237 opened this issue Feb 8, 2012 · 2 comments
Closed

Issue in test.js - add_all() #3

ext237 opened this issue Feb 8, 2012 · 2 comments

Comments

@ext237
Copy link

ext237 commented Feb 8, 2012

The main web site indicates (as does the function name) that add_all() will return the sum of all numbers in an array. It only returns the value of the last item in the array.

The code expresses "count" as the value being modified -- but it's not a "count" per se, its a value of the last item in the array.

@Ejhfast
Copy link
Owner

Ejhfast commented Feb 8, 2012

Fixed -- didn't spend enough time on these examples, it seems ;-)

@Ejhfast Ejhfast closed this as completed Feb 8, 2012
@ext237
Copy link
Author

ext237 commented Feb 8, 2012

Cool. But the homepage image and code needs updating too. :)

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

No branches or pull requests

2 participants