How does declaring variables inside functions work? Does this have scope?
I read the docs but I am a bit confused about storage classes?
Take the following example:
```
let global;
let #weakGlobal :=
inc() {
let i;
i++
}
main() {
let a, b;
global++;
inc();
int();
}
```
1. What value is global initialized with?
2. Does weakGlobal ever go out of scope, since it is declared at the file level?
3. Does i's value persist across function calls? What if it was weak? What if I dud let i = 1; in there instead,would it keep resetting on calls of inc?
4. Does main see the vars declared inside inc? Or are they scoped to inc? Does inc see the vars inside main?
5. The documentation mention vectors but forgets to explain their syntax. Can you elaborate on that?
Thank you!
I'd love to test all these questions out myself but the results seem "inconsistent" to me. You mention 3B being buggy in the docs. I'm not sure if it actually is being inconsistent/buggy or if I'm just not getting it. Hence, why I'm asking.
PS: Your Discord link is broken.
Great work! I'm really enjoying playing around with this. It's awesome stuff!
