Skip to content

isEqual doesn't work on arrayUnion, arrayRemove, and increment #7706

Closed
@marcusx2

Description

@marcusx2

Operating System

macOS

Browser Version

Safari 16.5.2

Firebase SDK Version

10.5.0

Firebase SDK Product:

Firestore

Describe your project's tooling

index.html with source tag. Just javascript.

Describe the problem

isEqual doesn't work on arrayUnion, arrayRemove, and increment. They always return false, even when they are equal.

Steps and code to reproduce issue

console.log(arrayUnion().isEqual(arrayUnion()));//return false console.log(arrayRemove().isEqual(arrayRemove()));//return false console.log(increment().isEqual(increment()));//return false 

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    close