You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: challenges/closure.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -21,4 +21,4 @@ myFunction();
21
21
22
22
/* Task 2: Counter */
23
23
24
-
/* Create a function called `factorial` that accepts a parameter and uses a counter to return the factorial of that number. For example, `factorial(4)` should return 10 because 1+2+3+4 is 10. */
24
+
/* Create a function called `sumation` that accepts a parameter and uses a counter to return the summation of that number. For example, `summation(4)` should return 10 because 1+2+3+4 is 10. */
0 commit comments