Confusing error message when not closing an element
Đang mở
debugging
enhancement
proposal
question
- Ngôn ngữ chính
- JavaScript
- Star
- 9k
- Fork
- 181
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.