Skip to content

Commit d95404a

Browse files
pat collinspat collins
authored andcommitted
corrected ryans code
1 parent d9c965f commit d95404a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/callbacks.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const firstItem = (arr, cb) => {
77

88
const getLength = (arr, cb) => {
99
// getLength passes the length of the array into the callback.
10+
cb(arr.length); // do i have ur code ryan ? ahh
1011
};
1112

1213
const last = (arr, cb) => {

0 commit comments

Comments
 (0)