Skip to content

Add syntax for simple array and object destructuring #79

@jcubic

Description

@jcubic

add support for:

let { x, y } = {
  "x" => 10,
  "y" => 20
}
let [ x, y ] = [10, 20]
let [ x, *args ] = [1, 2, 3, 4, 5]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions