8000 Update README.md · Fitto-A/javascript-exercises@7e04012 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7e04012

Browse files
authored
Update README.md
1 parent 2c5bb33 commit 7e04012

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sumAll/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ sumAll(1, 4) // returns the sum of 1 + 2 + 3 + 4 which is 10
1010
## Hints
1111

1212
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
1314
- create a variable to hold the final sum
1415
- loop through the given numbers ([link](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Loops_and_iteration))
1516
- on each iteration add the number to the sum

0 commit comments

Comments
 (0)
0