better parse errors

This commit is contained in:
2026-02-10 06:51:26 -06:00
parent 3f7e34cd7a
commit 747227de40
3 changed files with 255 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ type: "docs"
### Variables and Constants
Variables are declared with `var`, constants with `def`. All declarations must be initialized and must appear at the function body level — not inside `if`, `while`, `for`, or bare `{}` blocks.
Variables are declared with `var`, constants with `def`. All declarations must be initialized and must appear at the function body level — not inside `if`, `while`, `for`, or `do` blocks.
```javascript
var x = 10