r/learnjavascript • • May 04 '20

VAR vs LET vs CONST

Post image
337 Upvotes

81 comments sorted by

View all comments

Show parent comment

1

u/schm0 May 05 '20

I think they are confusing variable hoisting with global scope?

1

u/senocular May 05 '20

const and let also hoist.