Skip to content

Ambiguous syntax #140

Closed
Closed

Description

@Jack-Works

What can we do to avoid this syntax ambiguity?

1
<video>2</video>/g

it can be parsed as...

((1<video) > 2 ) < (/video>/g)

Activity

  1. Jack-Works commented on Feb 25, 2022

    @Jack-Works
    ContributorAuthor

    Oh this is not an ambiguous syntax. According to ASI, it will be interpreted as a JSX tag. wrong conclusion

  2. wooorm commented on Feb 25, 2022

    @wooorm

    in that case, #139 (comment) stands again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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