Skip to content

Bug - Object Destructuring, with duplicate variable names fails #1176

@RUSHt

Description

@RUSHt

Bug

var { a, b, a } = data is valid JS but will fail minify.

Parameter a was used already [js/2944.489ea112.js:560,4] will be reported as error.

Version (complete output of terser -V or specific git commit)

Was using Quasar.

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