Translation Results Requested Through Conyac Made Public

[Translation from English to Japanese ] An Object's __proto__ property references the same object as its internal [[P...

Original Texts
An Object's __proto__ property references the same object as its internal [[Prototype]] (often referred to as "the prototype"), which may be an object or, as in the default case of Object.prototype.__proto__, null . This property is an abstraction error, because a property with the same name, but some other value, could be defined on the object too. If there is a need to reference an object's prototype, the preferred method is to use Object.getPrototypeOf.
A __proto__ pseudo property has been included in §B.3.1 of the draft ECMAScript ed. 6 specification (note that the specification codifies what is already in implementations and what websites may currently rely on).
Note: that is two underscores, followed by the five characters "proto", followed by two more underscores.
When an object is created, its __proto__ property is set to reference the same object as its internal [[Prototype]] (i.e. its constructor's prototype object). Assigning a new value to __proto__ also changes the value of the internal [[Prototype]] property, except where the object is non–extensible.

To understand how prototypes are used for inheritance, see the MDN article Inheritance and the prototype chain.

In the following, a new instance of Employee is created, then tested to show that its __proto__ is the same object as its constructor's prototype.

Translated by linne0213
オブジェクトの__proto__ プロパティは、 そのオブジェクトを内部[[Prototype]](しばしば"the prototype"と呼ばれる)として参照する。この参照の対象は、オブジェクトもしくはObject.prototype.__proto__のデフォルトであるNullとなる。このプロパティは抽出エラーである。これは、同名のプロパティで別の値を持つ場合、そのオブジェクト上で定義することもできるからである。オブジェクトのプロトタイプを参照する必要があれば、Object.getPrototypeOfを使用することが好ましい。
__proto__ 疑似プロパティは、ECMAScript エディション6仕様書草案の§B.3.1に記載されている(この仕様は、既に実装されているものおよびウェブサイトが現在使用している可能性があるものを編纂したものであることに注意)。
注意:2つのアンダースコア(_)、続けて"proto"の5文字、その後さらに2つのアンダースコアである。
オブジェクトが作成されると、その __proto__プロパティは、そのオブジェクトの内部の[[Prototype]](つまり、コンストラクタのプロトタイプ オブジェクト)として参照に設定される。オブジェクトが拡張不能である場合を除き、__proto__に新しい値を割り当てることによっても、内部[[Prototype]]プロパティの値が変化する。

プロトタイプが継承においてどのように使用されるかを理解するには、MDNの「Inheritance and the prototype chain(継承とプロトタイプ チェーン)」という記事を参照。

以下のコードでは、Employeeの新しいインスタンスが作成され、その後__proto__はそのコンストラクタのプロトタイプと同じオブジェクトであることを示すためのテストが行われている。

Result of Translation in Conyac

Number of Characters of Requests:
1336letters
Translation Language
English → Japanese
Translation Fee
$30.06
Translation Time
about 5 hours
Freelancer
linne0213 linne0213
Senior
TOEIC990点。カナダのMcGill大学を経済学専攻、考古学副専攻で卒業しています。
ロシア語、フランス語など、翻訳するにはいたりませんが、ある程度...