Skip to content

Destructuring works when lengths don't match #47

@timfennis

Description

@timfennis
let a, b = "a\n\nb\n\nc".paragraphs

This should give an error but doesn't.

The inverse case does work, if you try to get more elements than available

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions