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

The "switch" statement #55

Open
wants to merge 5 commits into
base: master
from
Open

Conversation

@matztom
Copy link

@matztom matztom commented Jun 13, 2020

No description provided.

matztom added 2 commits Jun 10, 2020
@javascript-translate-bot javascript-translate-bot requested a review from javascript-tutorial/translate-de Jun 13, 2020
@CLAassistant
Copy link

@CLAassistant CLAassistant commented Jun 13, 2020

CLA assistant check
All committers have signed the CLA.

@iliakan iliakan mentioned this pull request Jun 13, 2020
11 of 174 tasks complete
@1H0
1H0 approved these changes Jun 13, 2020
1-js/02-first-steps/14-switch/article.md Outdated Show resolved Hide resolved
1-js/02-first-steps/14-switch/article.md Outdated Show resolved Hide resolved

The ability to "group" cases is a side-effect of how `switch/case` works without `break`. Here the execution of `case 3` starts from the line `(*)` and goes through `case 5`, because there's no `break`.
Die Fähigkeit cases zu "grupieren" ist ein Seiteneffekt davon, wie `switch/case` ohne `break` funktioniert. Hier beginnt die Ausführung von `case 3` in der Zeile `(*)` und durchläuft `case 5`, weil dosich dort kein `break` befindet.

This comment has been minimized.

@christianhegedues

christianhegedues Jun 19, 2020
Member

Suggested change
Die Fähigkeit cases zu "grupieren" ist ein Seiteneffekt davon, wie `switch/case` ohne `break` funktioniert. Hier beginnt die Ausführung von `case 3` in der Zeile `(*)` und durchläuft `case 5`, weil dosich dort kein `break` befindet.
Die Fähigkeit, Fälle "gruppieren" zu können, ist ein Nebeneffekt davon, wie `switch/case` ohne `break` funktioniert. Hier beginnt die Ausführung von `case 3` in der Zeile `(*)` und durchläuft `case 5`, weil es kein `break` gibt.

This comment has been minimized.

@matztom

matztom Jun 22, 2020
Author

es geht ja um die Gruppierung von cases. Ich würde entweder cases schreiben oder wenn, dann Fälle (cases). Tendiere aber eindeutig zu cases.

1-js/02-first-steps/14-switch/article.md Outdated Show resolved Hide resolved
@javascript-translate-bot

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

@matztom
Copy link
Author

@matztom matztom commented Jun 22, 2020

/done

@javascript-translate-bot javascript-translate-bot requested a review from javascript-tutorial/translate-de Jun 22, 2020
matztom and others added 3 commits Jul 6, 2020
Co-authored-by: Christian Hegedüs <christianhegedues@users.noreply.github.com>
Co-authored-by: Christian Hegedüs <christianhegedues@users.noreply.github.com>
Co-authored-by: Christian Hegedüs <christianhegedues@users.noreply.github.com>
@1H0
1H0 approved these changes Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.