Skip to content

Proposal: Elision #4684

@danielbayley

Description

@danielbayley

Following on from #3972 (and this comment in particular)…

Should we not align with ES6 and implement elision?

const [,,c] = [1,2,3];
console.log(c) // 3
[,,c] = [1,2,3]
console.log c # Error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions