Skip to content

Rewrite functions#403

Merged
aster-void merged 44 commits into
masterfrom
rewrite-functions
Oct 8, 2023
Merged

Rewrite functions#403
aster-void merged 44 commits into
masterfrom
rewrite-functions

Conversation

@aster-void
Copy link
Copy Markdown
Contributor

No description provided.

aster-void and others added 30 commits September 25, 2023 17:13
コンマ忘れ
コメント消し忘れ
ローカルリポが仕事しないのでwebエディタ
仕様では無いです。
モジュール化の説明の追加
Copy link
Copy Markdown
Contributor

@chvmvd chvmvd left a comment

Choose a reason for hiding this comment

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

一旦差分を見直してほしいです。

@chvmvd
Copy link
Copy Markdown
Contributor

chvmvd commented Sep 30, 2023

relate with #386

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Sep 30, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2107f7e
Status: ✅  Deploy successful!
Preview URL: https://c3577cc4.utcode-learn.pages.dev
Branch Preview URL: https://rewrite-functions.utcode-learn.pages.dev

View logs

<video src={returnValueVideo} controls autoPlay muted loop />

:::tip
**return 文** が実行された時点で<Term type="javascriptFunction">関数</Term>の処理が終了するため、次のように書くことで [if ~ else 文](../if-statement/#if--else-if--else) や [&& (AND) 演算子](../boolean/#論理演算子)の繰り返しを避けつつ、複数の条件のついた処理を実行することができます。
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

もとのプログラムがないままif〜else構文や&&演算子を使わなくなりませんと言われてもあまりぴんとこないので、ただ「より簡潔に書けます。」ぐらいで良い気がします。

Comment thread docs/1-trial-session/09-functions/index.md
Comment thread docs/1-trial-session/09-functions/index.md Outdated
Comment thread docs/1-trial-session/09-functions/index.md Outdated
Comment thread docs/1-trial-session/09-functions/index.md
Comment thread docs/1-trial-session/09-functions/index.md Outdated
aster-void and others added 3 commits October 2, 2023 01:21
Co-authored-by: WATAHIKI Yuto <104971044+chvmvd@users.noreply.github.com>
Co-authored-by: WATAHIKI Yuto <104971044+chvmvd@users.noreply.github.com>
@aster-void aster-void requested a review from chvmvd October 7, 2023 02:40
Copy link
Copy Markdown
Contributor

@chvmvd chvmvd left a comment

Choose a reason for hiding this comment

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

だいぶ細かいの多いけど。

Comment thread docs/1-trial-session/09-functions/index.md Outdated
Comment thread docs/1-trial-session/09-functions/index.md Outdated
Comment thread docs/1-trial-session/09-functions/index.md Outdated
Comment thread docs/1-trial-session/09-functions/index.md Outdated
Comment thread docs/1-trial-session/09-functions/index.md Outdated
Comment thread docs/1-trial-session/09-functions/index.md Outdated
Comment thread docs/1-trial-session/09-functions/index.md
Comment thread src/components/Term/definitions.js Outdated
Comment thread src/components/Term/definitions.js Outdated
aster-void and others added 9 commits October 7, 2023 13:43
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>
Copy link
Copy Markdown
Contributor

@chvmvd chvmvd left a comment

Choose a reason for hiding this comment

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

LGTM!!!!

Comment thread docs/1-trial-session/09-functions/index.md Outdated
@chvmvd
Copy link
Copy Markdown
Contributor

chvmvd commented Oct 8, 2023

あ、一個リンク違いがあった。後は、👍👍👍👍です!

Co-authored-by: WATAHIKI Yuto <104971044+chvmvd@users.noreply.github.com>
@aster-void
Copy link
Copy Markdown
Contributor Author

aster-void commented Oct 8, 2023

マージします!
ビルドテスト終わるまで3分ほど待ってあげます

Copy link
Copy Markdown
Contributor

@chvmvd chvmvd left a comment

Choose a reason for hiding this comment

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

🚀🚀🚀

@aster-void
Copy link
Copy Markdown
Contributor Author

🚀

@aster-void aster-void merged commit bc49639 into master Oct 8, 2023
@aster-void aster-void deleted the rewrite-functions branch October 8, 2023 08:12
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.

2 participants