Skip to content

Commit

Permalink
Update files/en-us/web/javascript/reference/statements/var/index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored Jul 20, 2023
1 parent 59780c5 commit 6a056cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions files/en-us/web/javascript/reference/statements/var/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ The scope of a variable declared with `var` is one of the following curly-brace-
- Function body
- [Static initialization block](/en-US/docs/Web/JavaScript/Reference/Classes/Static_initialization_blocks)

Or if neither of these apply:
Or if none of the above applies:

- [Module scope](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) - the scope for code running in module mode. Or
- [Global scope] - the default scope for all code running in script mode.
- The current [module](/en-US/docs/Web/JavaScript/Guide/Modules), for code running in module mode
- The global scope, for code running in script mode.

```js
function foo() {
Expand Down

0 comments on commit 6a056cb

Please sign in to comment.