javascript-tutorial / javascript-tutorial/en.javascript.info
Chapter - Prorotype Methods
オープン
まだ誰も着手していません。
- 主要言語
- HTML
- スター
- 25.5k
- フォーク
- 4k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
In the first section. your reference to 'prototype' is confusing and, if I understand the concept correctly, incorrect:
let animal = {
eats: true
};
// create a new object with animal as a **prototype**
let rabbit = Object.create(animal); // same as {__proto__: animal}
In this example:
- rabbit's [[Prototype]] property is set to animal
It's unfortunate that the JS specification used the same word for two different concepts, b/c I think even experts like you guys occasionally conflate the two terms.
Am I missing sth?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Object.create(animal) の例が引用されているチュートリアルの最初のセクションから始め、その中で “prototype” と [[Prototype]] がどのように使われているかを確認してください。用語を JavaScript 仕様またはチュートリアル周辺の説明と照合してください。セクションが関連する概念を明確に区別するか、既存の表現が正しい理由を説明していれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100