Write a recursive function, sum(arr, n), that returns the sum of the first n elements of an array arr.
-
Notifications
You must be signed in to change notification settings - Fork 1
Liveraidei/Basic-JavaScript-Replace-Loops-using-RecursionPassed
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Write a recursive function, sum(arr, n), that returns the sum of the first n elements of an array arr.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published