Skip to content

Shorthand broken (x[index] or =[]).push(item) in 1.11.0 #4321

@jjog1

Description

@jjog1

In 1.11.0 the follow shorthand has been broken.

(result[groupByIndex] or =[]).push(item)

Previously this would have compiled to

(result[groupByIndex] || (result[groupByIndex] = [])).push(item);

Now it throws a compilation error. Its not a major issue and a quick fix on our side but I wanted to bring it up to make sure you were aware of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions