r/learnjavascript • • May 04 '20

VAR vs LET vs CONST

Post image
337 Upvotes

81 comments sorted by

View all comments

7

u/NoFapPlatypus May 04 '20

What does block scope mean?

12

u/golovatuy May 04 '20

{ } this a block , everything inside is block scope

5

u/NoFapPlatypus May 04 '20

Ok thank you

2

u/spainzbrain May 04 '20

I was about to ask the same thing.