Skip to content

Commit

Permalink
Fixes #40: Typo in binding shadowing section (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunn313 committed Aug 27, 2020
1 parent 9987405 commit 59d9826
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/docs/manual/latest/let-binding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Let bindings are "immutable", aka "cannot change". This helps our type system de

## Binding Shadowing

The above restriction might sound unpractical at first. How are would you change a value then? Usually, 2 ways:
The above restriction might sound unpractical at first. How would you change a value then? Usually, 2 ways:

The first is to realize that many times, what you want isn't to mutate a variable's value. For example, this JavaScript pattern:

Expand Down
2 changes: 1 addition & 1 deletion pages/docs/manual/v8.0.0/let-binding.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Let bindings are "immutable", aka "cannot change". This helps our type system de

## Binding Shadowing

The above restriction might sound unpractical at first. How are would you change a value then? Usually, 2 ways:
The above restriction might sound unpractical at first. How would you change a value then? Usually, 2 ways:

The first is to realize that many times, what you want isn't to mutate a variable's value. For example, this JavaScript pattern:

Expand Down

0 comments on commit 59d9826

Please sign in to comment.