Closed RazvanBugoi closed 4 years ago
https://www.codewars.com/kata/586f6741c66d18c22800010a/train/javascript
const sequenceSum = (begin, end, step) => { let output = 0; if (begin > end) return 0; for (let i=begin; i<=end; i+=step) { output += i; } return output; };
https://www.codewars.com/kata/586f6741c66d18c22800010a/train/javascript