Add Task 3: Closures Stretch Problems - #1
Open
Catherinesjkim wants to merge 8 commits into
Open
Conversation
Because: - This task focuses on getting practice with higher order functions and callback functions by giving us an array of values and instructions on what to do with that array This commit: -Completed the problems provide to me but skipped over stretch problems until I'm complete with every other JS file first.
Because: - To use .forEach(), .map(), .filter(), and .reduce() to loop over an array with 50 objects in it. This commit: completed the problems provided to me. - No stretch problems on array-methods.js file. - Completed the last three problems that I created and solved. It pushed my critical thinking about array methods.
Because: - We learned that closures allow us to access values in scope that have already been invoked (lexical scope). -This commit: - Completed the problems provided to me but skipped over stretch problems.
Because: - I would like get 3 points for this assignment This commit: - Learned how to remove dupes from an array by using Set and Spread (...) syntax while passing the dupe free array to the cb function. - Didn't mutate the original array.
added 3 commits
October 6, 2019 16:56
Because: - There was a syntax issue on my VS Code This commit: - Challenge 2, 3, & 4 were implemented and working well with no syntax issue.
Because: - console.log was missing at the end This Commit: - Changed from <= to < limit in the while loop. - Added console.log(counterMaker()); after the function.
Because: = The higher order functions were not added on a few callbacks.js challenges so they are added now here. - Added IIFE and experiment with them on closure.js Challenge 3 stretch.
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.
Because:
This commit: