A bit of an aside: I think part of the public perception problem is calling Level 1 "chargers" and not just "outlets". At so many points in our discourse, especially in the US, we've let car manufacturers sell us this idea of "gas-pump-like capital-C Charger" as something bulky and "hard/expensive to install", but really most EVs just need more wall outlets, classic, boring electrical outlets. Sure, the US can blame Edison that we don't have Level 2 as a default outlet and our cheapest/easiest outlets are Level 1, yet still we need to stop underestimating L1.
The other thing beyond "don't discount L1 as a reliable way to charge" (slow and steady charges the race car, eh) is "don't discount the power of destination chargers". Everywhere you park is a possible place for a charger. If you can't get one easily at home, maybe your employer can build one. Your grocery store and your church or bar or pickle ball court or other third place can build one. (Especially Level 1. Outdoor outlets have always been a thing, moving them a little closer to parking spaces shouldn't always be a big deal. Boring old electrical outlets are "everywhere" already, we just aren't always yet in the mode of thinking about them, their ubiquity, and how they can charge our cars, while we eat or shop or work or hang out or play or sleep.)
Right now it's function scope; if you need it lexical scope, you can wrap it in a function.
Suppose it were lexical scope and you needed it function scope. Then what do you do?