Skip to content

Commit 8ecfd44

Browse files
committed
Add note on boilerplate
1 parent 1fa00f5 commit 8ecfd44

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

problems/higher_order_functions/problem.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ In this exercise we're going demonstrate that functions can be passed as values
1515

1616
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.
1717

18+
Use the boilerplate code given to you below to get started. Most/all future exercises will provide boilerplate.
19+
1820
## Arguments
1921

2022
* operation: A Function, takes no arguments, returns no useful value.
@@ -40,5 +42,6 @@ function repeat(operation, num) {
4042
// SOLUTION GOES HERE
4143
}
4244

45+
// Do not remove the line below
4346
module.exports = repeat
4447
```

0 commit comments

Comments
 (0)