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

Skip to content

Commit 420748e

Browse files
authored
Update step2-1.js
1 parent ebc180b commit 420748e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Week3/homework/step2-1.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1+
'use strict';
2+
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;
117

0 commit comments

Comments
 (0)