Skip to content

Commit

Permalink
*
Browse files Browse the repository at this point in the history
  • Loading branch information
imteekay committed Sep 24, 2023
1 parent 187cc46 commit 1caf896
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ And when the compiler is checking the empty statement, we just need to return th

```tsx
case Node.EmptyStatement:
return empty;
return empty;
```

## Transforming and emitting JS
Expand All @@ -175,7 +175,7 @@ The emitting process is pretty similar. When handling the emit for empty stateme

```tsx
case Node.EmptyStatement:
return '';
return '';
```

That's it! We've finished the implementation of empty statements. To complement this feature, we are going to also implement semicolons as a statement ender.
Expand Down

0 comments on commit 1caf896

Please sign in to comment.