MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/qdmzio/difference_between_var_let_and_const/hhs22tz/?context=3
r/learnjavascript • u/codedblood • Oct 22 '21
49 comments sorted by
View all comments
21
All of them are hoisted, but let and const are uninitialized until the line they are executed.
1 u/prof3ssorSt3v3 Oct 23 '21 Thank you.
1
Thank you.
21
u/voyotv Oct 22 '21
All of them are hoisted, but let and const are uninitialized until the line they are executed.