Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ebc180b

Browse files
authored
Update step2-1.js
1 parent 64a815f commit ebc180b

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Week3/homework/step2-1.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1 @@
1-
'use strict';
21

3-
function foo(func) {
4-
// What to do here?
5-
// Replace this comment and the next line with your code
6-
console.log(func);
7-
}
8-
9-
function bar() {
10-
console.log('Hello, I am bar!');
11-
}
12-
13-
foo(bar);
14-
15-
// Do not change or remove anything below this line
16-
module.exports = foo;

0 commit comments

Comments
 (0)