Skip to content

Commit 2862f91

Browse files
authored
Merge pull request #765 from simmayor/01-js-02-first-14-function
Fixed wording
2 parents e774c7c + 3db5a1c commit 2862f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/14-function-basics/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Variables declared outside of any function, such as the outer `userName` in the
128128
129129
Global variables are visible from any function (unless shadowed by locals).
130130
131-
Usually, a function declares all variables specific to its task. Global variables only store project-level data, so when it's important that these variables are accessible from anywhere. Modern code has few or no globals. Most variables reside in their functions.
131+
Usually, a function declares all variables specific to its task. Global variables only store project-level data, and it's important that these variables are accessible from anywhere. Modern code has few or no globals. Most variables reside in their functions.
132132
```
133133

134134
## Parameters

0 commit comments

Comments
 (0)