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

Update output complex, foo[0] = 1 #1343

Closed
wants to merge 1 commit into from
Closed

Update output complex, foo[0] = 1 #1343

wants to merge 1 commit into from

Conversation

esviai
Copy link

@esviai esviai commented Mar 22, 2017

No description provided.

@esviai esviai closed this Mar 22, 2017
@esviai esviai reopened this Mar 22, 2017
@@ -85,7 +85,7 @@ Other Style Guides

bar[0] = 9;

console.log(foo[0], bar[0]); // => 9, 9
console.log(foo[0], bar[0]); // => 1, 9
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in fact, the output will be 9, 9 - that's the entire purpose of the section, to warn about this hazard.

@ljharb ljharb closed this Mar 22, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants