-
Notifications
You must be signed in to change notification settings - Fork 0
Higher order #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: gh-pages
Are you sure you want to change the base?
Higher order #12
Conversation
06week/higherOrder.js
Outdated
| // Your code here | ||
| const filteredArr = []; | ||
| //for each item in the array, run the callback function and if it passes the test push original item to the filteredArr | ||
| arr.forEach(item => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be using methods. The purpose of this exercise is to teach you how to build these higher order functions.
06week/higherOrder.js
Outdated
| // Your code here | ||
| const newArr = []; | ||
| // for each item in the array, call the callback function on it | ||
| arr.forEach(item => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be using methods. The purpose of this exercise is to teach you how to build these higher order functions.
| } | ||
| } | ||
| return true; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost all of your functions are incomplete.
Checkpoint Rubric
This is the rubric that your instructor will use to grade your checkpoints. Please do not edit.
Checkpoint 1
Checkpoint 2
Checkpoint 3