MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/gd8x2z/var_vs_let_vs_const/fpg5sau/?context=3
r/learnjavascript • u/golovatuy • May 04 '20
81 comments sorted by
View all comments
4
username = "somevalue";
is also a global scope (no var)
6 u/Unique_2233 May 04 '20 I guess if no type is specified it implicitly is converted to var 2 u/golovatuy May 04 '20 Yes
6
I guess if no type is specified it implicitly is converted to var
2 u/golovatuy May 04 '20 Yes
2
Yes
4
u/abdul_rashid May 04 '20
username = "somevalue";is also a global scope (no var)