Clarify Explanation of Function Expressions in JavaScript Tutorial
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 55/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- javascript
調査の方向性
JavaScript チュートリアルの Function Expressions に関するセクションから始め、Function Declarations と変数への代入を比較している引用文を見つけてください。宣言の関数名と Function Expression の変数への代入を区別できるように文言を更新し、その後、レンダリングされたチュートリアルが明確か確認してください。
索引モデルが issue の本文から書いたものです。
説明
Description: The section of the tutorial discussing function expressions could benefit from a clearer distinction between Function Declarations and Function Expressions. Currently, the wording may cause confusion by implying that a Function Declaration creates a "variable" to hold the function name, which isn’t technically accurate.
Suggested Changes: In the tutorial, this line:
"The Function Declaration (1) creates the function and puts it into the variable named sayHi."
Might be more accurately phrased as:
"The Function Declaration (1) creates a function with the name sayHi. Unlike a Function Expression, this doesn’t involve a variable assignment."
This change would help learners understand that sayHi in this example is the function’s name from the declaration, rather than a variable containing the function reference.
Additional Context: I initially misunderstood this as creating a variable. I believe this clarification would prevent similar confusion for others. Thanks for considering this suggestion!
See screenshot attached
- 主要言語
- HTML
- スター
- 25.5k
- フォーク
- 4k
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
javascript-tutorial/en.javascript.info のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
Keyboard events: keydown filtering example can't block IME-composed input (Korean/Japanese/Chinese) オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
javascript-tutorial/en.javascript.info#3978 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
javascript-tutorial/en.javascript.info の issue をすべて見る
似ている issue
-
triage
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
feature pydanty:is-working
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
pydantic/pydantic-ai#8647 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
:watch: Not Triaged dotnet-fsharp/svc
難易度 1/5 1時間未満 初心者へのやさしさ 90/100