Rewrite functions#403
Merged
Merged
Conversation
コンマ忘れ
コメント消し忘れ
仕様では無いです。
Rewrite functions
モジュール化の説明の追加
Contributor
|
relate with #386 |
This reverts commit f12cd3d.
Deploying with
|
| Latest commit: |
2107f7e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c3577cc4.utcode-learn.pages.dev |
| Branch Preview URL: | https://rewrite-functions.utcode-learn.pages.dev |
chvmvd
reviewed
Oct 1, 2023
| <video src={returnValueVideo} controls autoPlay muted loop /> | ||
|
|
||
| :::tip | ||
| **return 文** が実行された時点で<Term type="javascriptFunction">関数</Term>の処理が終了するため、次のように書くことで [if ~ else 文](../if-statement/#if--else-if--else) や [&& (AND) 演算子](../boolean/#論理演算子)の繰り返しを避けつつ、複数の条件のついた処理を実行することができます。 |
Contributor
There was a problem hiding this comment.
もとのプログラムがないままif〜else構文や&&演算子を使わなくなりませんと言われてもあまりぴんとこないので、ただ「より簡潔に書けます。」ぐらいで良い気がします。
Co-authored-by: WATAHIKI Yuto <104971044+chvmvd@users.noreply.github.com>
Co-authored-by: WATAHIKI Yuto <104971044+chvmvd@users.noreply.github.com>
chvmvd
reviewed
Oct 7, 2023
Co-authored-by: WATAHIKI Yuto <104971044+chvmvd@users.noreply.github.com>
Co-authored-by: WATAHIKI Yuto <104971044+chvmvd@users.noreply.github.com>
Co-authored-by: WATAHIKI Yuto <104971044+chvmvd@users.noreply.github.com>
Co-authored-by: WATAHIKI Yuto <104971044+chvmvd@users.noreply.github.com>
Co-authored-by: WATAHIKI Yuto <104971044+chvmvd@users.noreply.github.com>
Co-authored-by: WATAHIKI Yuto <104971044+chvmvd@users.noreply.github.com>
chvmvd
approved these changes
Oct 8, 2023
Contributor
|
あ、一個リンク違いがあった。後は、👍👍👍👍です! |
Co-authored-by: WATAHIKI Yuto <104971044+chvmvd@users.noreply.github.com>
Contributor
Author
|
|
Contributor
Author
|
🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.