Closed as not planned
Description
Bug Report
π Search Terms
π Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about it
β― Playground Link
Playground link with relevant code
π» Code
x </x>/
π Actual behavior
There is a parse error for a perfectly valid expression
Unexpected keyword or identifier.
Declaration or statement expected.
Unterminated regular expression literal.
π Expected behavior
It should instead parse the expression as
x < /x>/
This is the behavior that is found in Babel and ESBuild.