-
Notifications
You must be signed in to change notification settings - Fork 4k
corrected translation to english errors in 'var' lesson #456
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
Conversation
CLA assistant check
All committers have signed the CLA.
iliakan
commented
Jul 3, 2018
Are you a native speaker?
davegregg
commented
Jul 5, 2018
Yes, @iliakan, he's one of my students.
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.
Undefined until they are explicitly assigned (=).
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.
wrong, they are function-local, so can't be "accessed from any point in the script" =)
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.
not sure if rephrasing is good here...
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.
Some rephrasing is good here. In this case, I had intended to submit another PR to add precision.
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.
Perhaps: Variables declared with `var` have function-level scope, instead of block-level scope.
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.
LGTM
iliakan
commented
Jul 5, 2018
Let's ensure maximum clarity and correctness with this subtle topic.
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.
Double wording: reading/editing.
@iliakan
iliakan
left a comment
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.
See comments please. Or is the PR dead?
No description provided.