Skip to content

Commit 3a8676b

Browse files
authored
Update README.md
1 parent 300f51e commit 3a8676b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ fn({min: 5}) // min*60 + "sec" == "300sec"
110110
['()', a]; // group operator `(a)`
111111
['()', a, b]; // access operator `a(b)`
112112
[, 'a']; // literal value `'a'`
113-
a; // variable (from scope)
113+
'a'; // variable (from scope)
114114
null|empty; // placeholder
115115

116116
// eg.
@@ -129,7 +129,7 @@ To convert tree back to code, there's codegenerator function:
129129
import { stringify } from 'subscript.js'
130130

131131
stringify(['+', ['*', 'min', [,60]], [,'sec']])
132-
// 'min*60 + "sec" == "300sec"'
132+
// 'min * 60 + "sec"'
133133
```
134134

135135
## Extending

0 commit comments

Comments
 (0)