r/learnjavascript • u/username95050 • Oct 23 '26
Block Scope
What is it? Don't understand what is inside or outside
13
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 29d ago
And the rules for block scope work very similarly in all c-like languages. C, Java, C++, Rust, etc.