Skip to content

Implement optional chaining #6349

@rhuanjl

Description

@rhuanjl

Optional chaining (https://github.com/tc39/proposal-optional-chaining) is now stage 4 and should be implemented; hopefully not too hard, roughly speaking:

a?.someExpression;
//is sugar for
a ? a.someExpression : undefined;

I may try and do this in the next couple of weeks if no one else is.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions