We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2d2565 commit 11b39abCopy full SHA for 11b39ab
1 file changed
assignments/callbacks.js
@@ -18,8 +18,8 @@ const items = ['Pencil', 'Notebook', 'yo-yo', 'Gum'];
18
19
// NOTES ON THE SOLUTION:
20
21
- // firstItem is a higher order function
22
- // that expects a callback (referred to as `cb`) as its second argument.
+ // firstItem is a higher order function.
+ // It expects a callback (referred to as `cb`) as its second argument.
23
// To test our solution, we will use the given `items` array and a variety of callbacks.
24
// Note how callbacks can be declared separately, or inlined.
25
0 commit comments