Skip to content
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

Create Functions Collection of Functions #9

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

ASPhillips8
Copy link

Create a helper function that receives a collection and returns a copy if its an array and converts to an array if collection is an object. Used helper function to create functions for own versions of each, map, reduce, find, and filter. Also created functions to get size of collection as well as first and last elements of a collections. Additionally created functions to work with objects. One function returns the keys of an object. The second functions uses the key of an object to interate and return an array with the values of the passed in object.

Copy link

@stephenmckeon stephenmckeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants