Skip to content

Chaining operators in template literals. #18

@jarvisa

Description

@jarvisa

ValidateJavaScript does not apply the correct syntax highlighting to template literals containing optional chaining operators.

Test with the following line of code:
`The ${colour?.name || 'marked'} area is a magic square.`; // AFU

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