Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c8edd84

Browse files
authored
Merge pull request #2213 from leviding/patch-28
FIX: change ; to ,
2 parents ae72328 + ca1ef0d commit c8edd84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎1-js/06-advanced-functions/04-var/article.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ In all the above cases we declare a Function Expression and run it immediately.
279279

280280
There are two main differences of `var` compared to `let/const`:
281281

282-
1. `var` variables have no block scope; their visibility is scoped to current function, or global, if declared outside function.
282+
1. `var` variables have no block scope, their visibility is scoped to current function, or global, if declared outside function.
283283
2. `var` declarations are processed at function start (script start for globals).
284284

285285
There's one more very minor difference related to the global object, that we'll cover in the next chapter.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /