Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Nov 11, 2023
1 parent 4ce5c66 commit a162b99
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions blog/grammar.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The only practical way to parse JavaScript is to write a recursive descent parse
so let's learn all the quirks in the grammar before we shoot ourselves in the foot.

The list below starts simple and will become difficult to grasp,
so please take grab a coffee and take your time.
so please grab a coffee and take your time.

## Identifiers

Expand Down Expand Up @@ -227,8 +227,12 @@ We probably have never written a single line of labelled statement, but it is le
The following syntax is correct, it returns a labelled statement (not object literal).

```javascript
<Foo bar={() => { baz: 'quaz' }} />
// ^^^^^^^^^^^ `LabelledStatement`
<Foo
bar={() => {
baz: "quaz";
}}
/>
// ^^^^^^^^^^^ `LabelledStatement`
```

---
Expand Down

0 comments on commit a162b99

Please sign in to comment.