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: problems/higher_order_functions/problem.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@ In this exercise we're going demonstrate that functions can be passed as values
15
15
16
16
Implement a function that takes a function as its first argument, a number `num` as its second argument, then executes the passed in function `num` times.
17
17
18
+
Use the boilerplate code given to you below to get started. Most/all future exercises will provide boilerplate.
19
+
18
20
## Arguments
19
21
20
22
* operation: A Function, takes no arguments, returns no useful value.
@@ -40,5 +42,6 @@ function repeat(operation, num) {
0 commit comments