Skip to content

Commit 83ab6da

Browse files
committed
more work on the example
1 parent 9a4bf1b commit 83ab6da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assignments/callbacks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const items = ['Pencil', 'Notebook', 'yo-yo', 'Gum'];
2121
// firstItem is a higher order function
2222
// that uses a callback (referred to as 'cb') as its second argument.
2323
// To test our solution, we will try it with a variety of callbacks.
24-
// Note that callbacks might be declared separately, or inlined.
24+
// Note how callbacks can be declared separately, or inlined.
2525
2626
// TEST 1 (inlined callback):
2727

0 commit comments

Comments
 (0)