Skip to content

Numeric separators result in error #293

Open
@mariusGundersen

Description

@mariusGundersen

Numeric separators are supported in espruino, this will work:

setTimeout(() => LED1.toggle(), 10_000);

But it doesn't seem to be supported in the IDE and espruino npm cli tool, which will give this warning:

image

I'm wondering if this is in acorn or some other dependency that can be updated

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