add sumAll

This commit is contained in:
Cody Loyd
2017-08-24 08:26:01 -05:00
parent 4c8f1643ec
commit fe087fdd5c
3 changed files with 34 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
# Exercise 05 - sumAll
Implement a function that takes 2 integers and returns the sum of every number between(and including) them:
```javascript
sumAll(1, 4) // returns the sum of 1 + 2 + 3 + 4 which is 10
```