Charles Boegner: Javascript-II - #137
Open
MichaelBoegner wants to merge 5 commits into
Open
Conversation
|
Thanks for the PR Charles! 👍 |
TERR1E
reviewed
Jun 27, 2018
TERR1E
left a comment
There was a problem hiding this comment.
Hi Charles, you are making a good progress so far!
Here are some links you may find helpful:
https://codeburst.io/javascript-map-vs-foreach-f38111822c0f
Closure & Callbacks: https://gist.github.com/amysimmons/3d228a9a57e30ec13ab1
Completed closure section
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Assignment Description
Callbacks
In the callbacks.js file you'll be receiving a lot of practice on how to use callbacks to pass around data.
Remember that a callback function is simply a function that is being passed around to other functions.
Function Conversion
Array Methods
Use .forEach(), .map(), .filter(), and .reduce() to loop over an array with 50 objects in it. The array-methods.js file contains several challenges built around a fund rasising 5k fun run event.
Read the instructions found within the file carefully to finish the challenges.
The last challenge is to come up with 3 problems to solve and then build a solution for them using any of the array methods listed above.
Share one of your favorite problem/solutions in your team meeting.
Complete each challenge presented before moving on to closure.
Closures
The closure.js assignment showcases how variables can be used outside of functions to store state using closure.
Complete each challenge.