odin-javascript-exercises/05-sumAll
2017-08-24 08:26:01 -05:00
..
README.md add sumAll 2017-08-24 08:26:01 -05:00
sumAll.js add sumAll 2017-08-24 08:26:01 -05:00
sumAll.spec.js add sumAll 2017-08-24 08:26:01 -05:00

Exercise 05 - sumAll

Implement a function that takes 2 integers and returns the sum of every number between(and including) them:

sumAll(1, 4) // returns the sum of 1 + 2 + 3 + 4 which is 10