Skip to content

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

@songz

Description

@songz

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"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions