Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Ban optional chaining delete (and anything else that may be missing?) #40

@littledan

Description

@littledan

Due to the evidence from CoffeeScript, I thought we agreed to remove all constructs from optional chaining except for x.?y, x?.[y] and x?.(y). However, in this thread, @claudepache mentioned that optional chaining deletion is not yet banned. We should make it an early error in the draft spec, shouldn't we? Are there any other constructs that are currently allowed besides those three? The ambiguity here is delaying proper implementation in Babel.

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