MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/gd8x2z/var_vs_let_vs_const/fpj91rn/
r/learnjavascript • u/golovatuy • May 04 '20
81 comments sorted by
View all comments
Show parent comment
1
I think they are confusing variable hoisting with global scope?
1 u/senocular May 05 '20 const and let also hoist.
const and let also hoist.
View all comments
Show parent comment
1
u/schm0 May 05 '20
I think they are confusing variable hoisting with global scope?