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 article.md | changes under Comma subheading #3770

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

errwnd
Copy link

@errwnd errwnd commented Oct 15, 2024

Shouldn't "a" be assigned the value of the later operation(3+4) rather than (1+2).

Shouldn't "a"  be assigned the value of the later operation(3+4) rather than (1+2).
@javascript-translate-bot javascript-translate-bot added the review needed Review needed, please approve or request changes label Oct 15, 2024
@javascript-translate-bot javascript-translate-bot requested a review from a team October 15, 2024 07:30
@CLAassistant
Copy link

CLAassistant commented Oct 15, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@joaquinelio joaquinelio left a comment

Choose a reason for hiding this comment

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

No
Read it,
precedence is the point of the smart header

let a = (1 + 2, 3 + 4) // a = (7)

let a = 1 + 2, 3 + 4 // (a = 3), 7

@errwnd
Copy link
Author

errwnd commented Oct 21, 2024

let a = 1 + 2, 3 + 4 // (a = 3), 7
Shall we have a code representation like:
let a; a =1+2, 3+4; alert(a); // returns 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review needed Review needed, please approve or request changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants