From 9aa0d7004a9e6f24f86877fed8bd41f73aecd289 Mon Sep 17 00:00:00 2001 From: Glenn Jackman Date: Tue, 7 Jan 2025 15:07:53 -0500 Subject: [PATCH] reword sentence about local variable "overwriting" global variable --- concepts/functions/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concepts/functions/introduction.md b/concepts/functions/introduction.md index a07d9598..ecdb755f 100644 --- a/concepts/functions/introduction.md +++ b/concepts/functions/introduction.md @@ -40,7 +40,7 @@ If you declare the variables with the `local` command, the _scope_ of the variab Otherwise, the variable is placed in the _global scope_. Local variables can have the same name as a global variable. -In that case, the local variable _temporarily_ overrides the global one, and the global value is restored when the function returns. +In that case, the local variable takes precedence over the global variable. ```bash x=5