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

The delete function failes to delete properties of value undefined #52

Open
meena-erian opened this issue Sep 26, 2022 · 1 comment · May be fixed by #53
Open

The delete function failes to delete properties of value undefined #52

meena-erian opened this issue Sep 26, 2022 · 1 comment · May be fixed by #53

Comments

@meena-erian
Copy link

Version: "dot-prop-immutable": "^2.1.1"

Steps to reproduce:

Run the following expression:

dotProp.delete({a:5, b:undefined, c:undefined}, 'b')

Return Value:

{a: 5, b: undefined, c: undefined}

Expected Return Value:

{a: 5, c: undefined}
@meena-erian
Copy link
Author

I have created a pull request #53

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 a pull request may close this issue.

1 participant