Open
Conversation
…ork with just a return or in an if statement but not if it is spelled wrong XD
… scope to call the function within it that performs a closure by grabbing variables from the larger function
…ms names to a new item of another array called fullNames
… made another array to push to so that I could change the case before I pushed it to the proper array but saw in the documentation that I could use the method inline/on the value directly
…because I never gave it the parameter/reference the function would be looking at, I went straight into the property thinking i didn't need to
…gned some saved memory to the outcome of the method instead of pushing to it with a push method
…al number of the new array with reduce when all I needed was length
…was missing a return from my nested function
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.
Had help figuring out what was wrong with my function syntax in array-methods challenge 4.