var isn't global unless it's not inside a function. var is just function scoped, with declaration auto hoisted to the beginning of the function. let is a little more intuitive since you can't refer to it before it's been declared and has block scope rather than function scope.
Furthermore, I suspect there's a lot of availability bias in play. In rural communities you can do a lot of environmentally unfriendly things and not see immediate consequences because there's a lot more availability of the externalities per person. Nature can heal itself when density is low. Or you can leave that spot alone and have plenty of space for yourself still. In cities you more quickly see a lot of the consequences of policy changes large populations, especially when it comes to visible side effects. You also see poverty and may not see benefits of community help as much because it's just so dang expensive to live in a city, much less both live and run organizations that do help others outside of government, which I've definitely seen happen when they can afford the real estate for e.g. a homeless shelter. People do genuinely want to help sometimes but they're often not the loud ones making waves and running for office on hateful platforms.
Hey now, I've cluttered up my Linux installs on my own just fine. Over the years I've installed quite a bit of stuff I used once then didn't need again.
Kids. It's kids spending their allowance. Source: had to clamp down and say no more robux.
And probably also streamers who aren't spending their own money (donations and referrals probably) who make the problem worse by making it seem like everyone else has these pointless cosmetics.
I've wasted way too much time, and I'm only talking a couple minutes, trying to figure out "read that again." Maybe the joke is that I've wasted the time.
Should log
hoisted
and thenundefined
, showing that you've assigned to the later-declaredvar a
which was hoisted vs the external globala
.