Skip to content

Question: keys with the same name #91

Description

@Ali-sharafi-git

Hi
Is there a way to avoid writing big map objects by excluding keys with same name in source and dest?
eg

const  source ={
foo: 1,
bar:2,
baz:3
}

const dest = {
foo : null,
bar: null,
x: null,
y: null
}

My expectation is an empty map object would return a dest object with keys foo and bar

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions