Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(switch): correct value in example#3892

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
odsantos wants to merge1 commit intojavascript-tutorial:master
base:master
Choose a base branch
Loading
fromodsantos:fix/switch-example-typo

Conversation

@odsantos
Copy link
Contributor

In the 'switch' article, the code example for grouping cases was using an incorrect value for the variablea. This caused the example to not follow the intended logic of demonstrating thecase 4: execution.

This PR corrects the value ofa from3 to2 + 2, aligning the English version with the corrected Portuguese translation and ensuring the example works as described.

@javascript-translate-botjavascript-translate-bot added the review neededReview needed, please approve or request changes labelOct 14, 2025
Copy link
Member

@joaquineliojoaquinelio left a comment

Choose a reason for hiding this comment

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

That's odd.

The original 9 years ago was correct.

5 years ago it was changed.

maybe COVID-19 did.

@javascript-translate-botjavascript-translate-bot added needs +1One more review needed and removed review neededReview needed, please approve or request changes labelsOct 15, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@joaquineliojoaquineliojoaquinelio approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

needs +1One more review needed

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@odsantos@joaquinelio@javascript-translate-bot

[8]ページ先頭

©2009-2025 Movatter.jp