From 8d6ca90c6d6435ad47e0aca6ae6a60e783fc83f6 Mon Sep 17 00:00:00 2001 From: raskad <32105367+raskad@users.noreply.github.com> Date: Tue, 10 Dec 2024 21:17:05 +0100 Subject: [PATCH] Update blog/2024-10-01-local-variables.md Co-authored-by: Kevin Ness <46825870+nekevss@users.noreply.github.com> --- blog/2024-10-01-local-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/2024-10-01-local-variables.md b/blog/2024-10-01-local-variables.md index 3403aaf..4100030 100644 --- a/blog/2024-10-01-local-variables.md +++ b/blog/2024-10-01-local-variables.md @@ -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: