Skip to content

deepEqual should not compare constructors#1765

Description

@runspired

Currently, deepEqual will do a strict equality comparison on the constructor of each value. This defeats the purpose of deepEqual in that it prevents it from matching structurally, and leads to the myriad of issue reported in qunit over the years around comparisons of Array vs TypedArray and the like.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions