Skip to content

Error when comparing arrays with nulland Object elements (in the demo website).  #180

@bernharduw

Description

@bernharduw

Comparing arrays with elements of different types usually works perfectly, but comparing [null] with [{}] throws an error.

I came across this while trying to find the difference of two quite complex JSON docs, but the Demo site didn't show any differences at all. Only at closer examination I found out that there was an error on the console.

I'm not quite certain if this is only an error in the demo website or in the library itself. Here's the screenshot:

image

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