Skip to content

JavaScript1章: プリミティブ型説明の分割・補強とオブジェクト例追加、練習問題の簡素化#207

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/update-javascript-chapter-1-explanations
Draft

JavaScript1章: プリミティブ型説明の分割・補強とオブジェクト例追加、練習問題の簡素化#207
Copilot wants to merge 3 commits intomainfrom
copilot/update-javascript-chapter-1-explanations

Conversation

Copy link
Contributor

Copilot AI commented Mar 21, 2026

Chapter 1の説明不足と、練習問題で未解説の演算子(||??...)を使わせていた問題を修正。
加えてレビュー指摘に対応し、プリミティブ型の説明構成を分割して読みやすく整理しました。

変更内容

  • 2-0-primitive-type.md: プリミティブ型の概要ページに整理。Symbol / BigInt は詳細説明・コード例を載せず、用途を簡潔に言及する構成へ変更。

  • 新規追加(分割)

    • 2-1-string.md
    • 2-2-number.md
    • 2-3-boolean.md
    • 2-4-undefined-null.md
      Python 1章(2-1-int.md, 2-2-str.md, 2-3-f-string.md, 2-4-bool.md)と同様に、初学者向けのわかりやすい説明と js-repl の例を追加。
  • 削除

    • 2-1-null-undefined.md2-4-undefined-null.md へ再編)
  • 3-0-object.md: Object・Array のリテラル記法とプロパティ/インデックスアクセスのコード例を追加。詳細は5章・7章で扱う旨を明記。

  • 6-1-practice1.md: ||?? を使う問題を廃止し、テンプレートリテラルのみで完結するフォーマット問題に変更。

  • 6-2-practice2.md: スプレッド構文 ... を要求する問題を廃止し、const オブジェクトのプロパティ変更・追加を確認する問題に変更。

検証

  • npm run checkDocs を実行し、ドキュメント整合性チェックが通過することを確認。

Screenshot

Original prompt

This section details on the original issue you should resolve

<issue_title>JavaScript1章が説明不足すぎる</issue_title>
<issue_description>* 各プリミティブ型の説明や例が不足している。特にテンプレートリテラルは練習問題で書かされるのにコード例がない。

  • ObjectとArrayもコード例がない。
    • Objectは5章に、Arrayは7章にある。あとの章で詳しく説明します、とか書いておけばいいか?
  • 練習問題で、説明していない 論理和演算子 || 、 Null合体演算子 ?? 、スプレッド構文 ... を使うことを要求している。
    • Python1章やRuby1章と同じように、条件分岐のいらない練習問題にするべき
    • ||, &&, ?? は1章のどこかで説明すべきな気がする
      • これは1章ではなく、3項演算子やオプショナルチェーンとかとあわせて新しい章にしたほうがいい</issue_description>

<agent_instructions>public/docs/javascript/1-basics/ 以下のmdファイルの内容を修正してください。必要であればファイルを追加・削除しても構いません。見出しを追加する場合は、必ず1つのmdファイル内に見出しが1つのみになるようファイルを追加・削除してください。</agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: na-trium-144 <100704180+na-trium-144@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ut-code/my-code/sessions/56c810b0-44e8-4be4-a188-42cf1404ae6b
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 21, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
my-code aeaae1c Commit Preview URL

Branch Preview URL
Mar 22 2026, 11:12 AM

Copilot AI changed the title [WIP] Update explanations and examples for JavaScript Chapter 1 JavaScript1章: プリミティブ型・オブジェクト型のコード例追加と練習問題の簡素化 Mar 21, 2026
Copilot AI requested a review from na-trium-144 March 21, 2026 14:04
@na-trium-144
Copy link
Contributor

@copilot javascript/1-basics/2-0-primitive-type.mdの各型の説明とコード例を
2-1-string.md, 2-2-number.md, 2-3-boolean.md, 2-4-undefined-null.md
に分割してください。
(SymbolとBigIntについては詳しい説明やコード例は要らないと思います。)
python/1-basics/2-1-int.md, 2-2-str.md, 2-3-f-string.md, 2-4-bool.md と同様にわかりやすい説明と例を書いてください。

Copy link
Contributor Author

Copilot AI commented Mar 22, 2026

@na-trium-144 The model claude-sonnet-4.6 is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it.

You can try again without specifying a model (just @copilot) to use the default, or choose a different model from the model picker.

If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: 986a4e15-cf09-48b5-80ff-38e7f3824d40

1 similar comment
Copy link
Contributor Author

Copilot AI commented Mar 22, 2026

@na-trium-144 The model claude-sonnet-4.6 is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it.

You can try again without specifying a model (just @copilot) to use the default, or choose a different model from the model picker.

If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: 986a4e15-cf09-48b5-80ff-38e7f3824d40

@na-trium-144
Copy link
Contributor

@copilot

Copy link
Contributor Author

Copilot AI commented Mar 22, 2026

@na-trium-144 The model claude-sonnet-4.6 is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it.

You can try again without specifying a model (just @copilot) to use the default, or choose a different model from the model picker.

If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: 986a4e15-cf09-48b5-80ff-38e7f3824d40

Copy link
Contributor Author

Copilot AI commented Mar 22, 2026

@na-trium-144 The model claude-sonnet-4.6 is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it.

You can try again without specifying a model (just @copilot) to use the default, or choose a different model from the model picker.

If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: 986a4e15-cf09-48b5-80ff-38e7f3824d40

2 similar comments
Copy link
Contributor Author

Copilot AI commented Mar 22, 2026

@na-trium-144 The model claude-sonnet-4.6 is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it.

You can try again without specifying a model (just @copilot) to use the default, or choose a different model from the model picker.

If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: 986a4e15-cf09-48b5-80ff-38e7f3824d40

Copy link
Contributor Author

Copilot AI commented Mar 22, 2026

@na-trium-144 The model claude-sonnet-4.6 is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it.

You can try again without specifying a model (just @copilot) to use the default, or choose a different model from the model picker.

If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: 986a4e15-cf09-48b5-80ff-38e7f3824d40

Co-authored-by: na-trium-144 <100704180+na-trium-144@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ut-code/my-code/sessions/34fbc605-3a4e-4915-9c25-26c8cf45a082
Copy link
Contributor Author

Copilot AI commented Mar 22, 2026

@copilot javascript/1-basics/2-0-primitive-type.mdの各型の説明とコード例を
2-1-string.md, 2-2-number.md, 2-3-boolean.md, 2-4-undefined-null.md
に分割してくださ�...

対応しました。2-0-primitive-type.md を概要に整理し、ご指定どおり 2-1-string.md / 2-2-number.md / 2-3-boolean.md / 2-4-undefined-null.md に分割して、Python 1章に寄せた説明とコード例に書き直しています。Symbol/BigInt は概要での簡潔な言及のみにしました。対応コミット: aeaae1c。スクリーンショット: https://github.com/user-attachments/assets/2226bd11-1fe7-4731-829f-7464bf7204ec

Copilot AI changed the title JavaScript1章: プリミティブ型・オブジェクト型のコード例追加と練習問題の簡素化 JavaScript1章: プリミティブ型説明の分割・補強とオブジェクト例追加、練習問題の簡素化 Mar 22, 2026
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.

JavaScript1章が説明不足すぎる

2 participants