Skip to content

Nullish coalescing operator ?? #203

@jorendorff

Description

@jorendorff

Stage 3 proposal
Spec repo: https://github.com/tc39/proposal-nullish-coalescing

(Related to #146 optional chaining, but an independent proposal.) We just implemented ?? in SpiderMonkey. It's a short-circuiting binary operator, more like || than anything else, but calling it a LogicalExpression is a stretch.

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