Confusing error message when not closing an element
Open
debugging
enhancement
proposal
question
- Dominant language
- JavaScript
- Stars
- 9k
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
Example code:
```js
import htm from "htm"
const e = htm`` // element is not closed
```
Being used to write HTML and not having to close every element (especially inputs), i can write this sort of code
With `htm`, i get the following error: `SyntaxError: missing ) after argument list`
This errors seems non-intuitive to me
Contributor guide
Assessment
This issue has not been assessed yet.