Confusing error message when not closing an element
Aperta
debugging
enhancement
proposal
question
- Lingua principale
- JavaScript
- Stelle
- 9k
- Fork
- 181
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.