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

Lesson 2: write a function that takes in an object (data), a function that takes in key/value, and returns a filtered object #56

Open
songz opened this issue Oct 20, 2017 · 2 comments

Comments

@songz
Copy link

songz commented Oct 20, 2017

Input: ObjectA, function
Output: ObjectC

Example:
Input: {5: "blah blah", name: "ho", zolo: "4thech"}, (k, v) => {return v.length > 3}
Output: {5: "blah blah", name: "ho", zolo: "4thech"}

@allopez7
Copy link

The output should be: Output: {5: "blah blah", zolo: "4thech"}

allopez7 pushed a commit to allopez7/algorithm that referenced this issue Oct 27, 2017
…ject (data), a function that takes in key/value, and returns a filtered object
allopez7 pushed a commit to allopez7/algorithm that referenced this issue Oct 27, 2017
…ject (data), a function that takes in key/value, and returns a filtered object
allopez7 pushed a commit to allopez7/algorithm that referenced this issue Oct 27, 2017
…ject (data), a function that takes in key/value, and returns a filtered object
allopez7 pushed a commit to allopez7/algorithm that referenced this issue Oct 27, 2017
…ject (data), a function that takes in key/value, and returns a filtered object
allopez7 pushed a commit to allopez7/algorithm that referenced this issue Oct 30, 2017
…ject (data), a function that takes in key/value, and returns a filtered object
@ghost
Copy link

ghost commented Nov 2, 2017

do this first-> #61

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

No branches or pull requests

2 participants