Skip to content

Commit

Permalink
Update blog/2024-10-01-local-variables.md
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Ness <[email protected]>
  • Loading branch information
raskad and nekevss authored Dec 10, 2024
1 parent e5bc916 commit 8d6ca90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/2024-10-01-local-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Even though both have the same identifier, they are different variables.
The variable with the value `1` is declared in the global scope.
The variable with the value `2` is declared in a block scope.

In this example we always find the variable that we want to access in the current scope.
In this example, we always find the variable that we want to access in the current scope.
But what when the variable we access in not declared in the current scope?

Let's modify our example to see what happens in that case:
Expand Down

0 comments on commit 8d6ca90

Please sign in to comment.