7 lines
211 B
Markdown
7 lines
211 B
Markdown
|
# 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
|
||
|
```
|