const recursiveRangeSum = (num, total = 0) => { if (num <= 0) { return total; } return recursiveRangeSum(num - 1, total + num);};