-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scope #137
base: master
Are you sure you want to change the base?
Conversation
I think the scope diagram will work better if it shows some actual JavaScript with actual variables with the same and different names, and arrows pointing from uses to definitions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented in GitHub: I think we need to show two variables with the same name to show what overrides what - arrows pointing from names to definitions, etc.
I'm liking this, but both |
Hi @MayaGans I use this as a memory map while working with Javascript. Heavily inspired by Will Sentance |
Is a scope figure of interest? I tried to stay on brand but I'm not sure what font you've been using. In this PR I:
Maybe I should add some arrows to show the inside variables can access the global but not the other way around?