Skip to content

Commit a2d2565

Browse files
committed
wording
1 parent e03b4af commit a2d2565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assignments/callbacks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const items = ['Pencil', 'Notebook', 'yo-yo', 'Gum'];
1919
// NOTES ON THE SOLUTION:
2020
2121
// firstItem is a higher order function
22-
// that uses a callback (referred to as `cb`) as its second argument.
22+
// that expects a callback (referred to as `cb`) as its second argument.
2323
// To test our solution, we will use the given `items` array and a variety of callbacks.
2424
// Note how callbacks can be declared separately, or inlined.
2525

0 commit comments

Comments
 (0)