Skip to content

TypeError: Cannot read property 'propertyIsEnumerable' of undefined  #10

Description

@skidvd

TypeError: Cannot read property 'propertyIsEnumerable' of undefined
at DataObjectParser.get (dataobject-parser.js:115)

Our data model uses undefined (vs. null) intentionally. null denotes an intentional absence of value, while undefined has not yet been determined or not yet available.

line 114 of the dataobject-parser.js script appears to check for null, but does not handle undefined, yielding the above error in case of the undefined value. Any reason it could not check for and correctly handle both null and undefined? In the case of undefined, I'd expect to receive undefined as the return value from the .get() call.

Activity

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions