Skip to content

[immutable-data] Arrays from Object.entries and the like are not treated as new arrays being created #773

@RebeccaStevens

Description

@RebeccaStevens

Bug Report

This errors with ignoreImmediateMutation set.

Object.entries(foo).sort(...);

Expected behavior

No error.

Actual behavior

Modifying an array is not allowed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: ReleasedIt's now live.Type: BugInconsistencies or issues which will cause a problem for users or implementors.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions