Skip to content

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

Open
@meena-erian

Description

@meena-erian

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}

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