Skip to content
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

Chapter 2, "Lex-Time" section edits #32

Closed
bmacdonald-editor opened this issue Jan 7, 2014 · 1 comment
Closed

Chapter 2, "Lex-Time" section edits #32

bmacdonald-editor opened this issue Jan 7, 2014 · 1 comment
Assignees

Comments

@bmacdonald-editor
Copy link

In the first code example, you mention the scope for variables b and c, but not a.

@ghost ghost assigned getify Jan 7, 2014
@getify
Copy link
Owner

getify commented Jan 13, 2014

I think all three are already addressed:

Bubble 1 encompasses the global scope, and has just one identifier in it: foo.

Bubble 2 encompasses the scope of foo, which includes the three identifiers: a, bar and b.

Bubble 3 encompasses the scope of bar, and it includes just one identifier: c.

Re-open if I missed the meaning of this edit suggestion. :)

@getify getify closed this as completed Jan 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants