r/learnjavascript • u/username95050 • Oct 23 '26
Block Scope
What is it? Don't understand what is inside or outside
12
Upvotes
r/learnjavascript • u/username95050 • Oct 23 '26
What is it? Don't understand what is inside or outside
View all comments
Show parent comment
2
u/JGhostThing Oct 28 '26
And the rules for block scope work very similarly in all c-like languages. C, Java, C++, Rust, etc.