8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c5bb33 commit 7e04012Copy full SHA for 7e04012
sumAll/README.md
@@ -10,6 +10,7 @@ sumAll(1, 4) // returns the sum of 1 + 2 + 3 + 4 which is 10
10
## Hints
11
12
Think about how you would do this on pen and paper and then how you might translate that process into code:
13
+- make sure you pay attention to the function parameters
14
- create a variable to hold the final sum
15
- loop through the given numbers ([link](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Loops_and_iteration))
16
- on each iteration add the number to the sum
0 commit comments