Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

String interpolation within an empty string is a no-op #365

Closed
@johnridesabike

Description

@johnridesabike
let x = `${[1,2]}`

Output:

var x = [1, 2];

Maybe this isn't a bug? I would expect it to cause a type error though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions