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

Skip to content

Commit 6864778

Browse files
authored
Update homework.md
1 parent 3a9ac2c commit 6864778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript2/week3/homework.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The warmup is a **little abstract**, it will get more concrete later on!
6565

6666
8. Check if we have double clicked on the page. A double click is defined by two clicks within 0.5 seconds. If a double click has been detected, log out the text: "double click!"
6767

68-
9. Create a function called `jokeCreator` that has three parameters: `shouldTellFunnyJoke` - boolean, `logFunnyJoke` - function and `logBadJoke` - function. If you set `tellFunnyJoke` to `true` it should call the `logFunnyJoke` function that should log out a funny joke. And vice versa.
68+
9. Create a function called `jokeCreator` that has three parameters: `shouldTellFunnyJoke` - boolean, `logFunnyJoke` - function and `logBadJoke` - function. If you set `shouldTellFunnyJoke` to `true` it should call the `logFunnyJoke` function that should log out a funny joke. And vice versa.
6969

7070
### Function as a variable
7171

0 commit comments

Comments
 (0)