Skip to content

Leftover ReturnIfAbrupt reference #3780

@nicolo-ribaudo

Description

@nicolo-ribaudo

It's still mentioned in https://tc39.es/ecma262/#sec-implicit-normal-completion:

Image

However, ReturnIfAbrupt has been removed in #3705.

It should just mention "the ? shorthand expansion" (https://tc39.es/ecma262/#sec-shorthands-for-unwrapping-completion-records), and the ? definition should mark the "if x is an abrupt completion, return x" with an explicit Completion() marker, to make it editorially valid.

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