Recursion in Javascript
Question 1: Sum all numbers
Write a function called sumRange. It will take a number and return the sum of all numbers from 1 up to the number passed in.
Sample: sumRange(3) returns 6, since 1 + 2 + 3 = 6.
let count = 1; let data = 0; function sumRang...
devbunney.hashnode.dev1 min read