Skip to content

DOM equals should allow comparisons between Integer and other numeric types #696

@zslayton

Description

@zslayton

equals is intended to provide intuitive value-based comparisons. Right now, any comparison between a DOM Integer and any other numeric type (besides JSBI) is false. This behavior is appropriate for ionEquals, but surprising for equals.


No it only allows number and JSBI with Integer.

Originally posted by @desaikd in #695 (comment)

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