Skip to content

Commit 1a51e8e

Browse files
committed
translate "Property Lookup" to ja
1 parent 409fc68 commit 1a51e8e

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

‎doc/ja/object/prototype.md‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,11 @@ JavaScriptはプロトタイプベースが採用されている唯一の広範
4646
> プロトタイプチェーンは`Foo.prototype`ではなく`Function.prototype`まで遡るので、
4747
> `method`はプロトタイプチェーン上に出現しなくなります。
4848
49-
### Property Lookup
49+
### プロパティ探索
5050

51-
When accessing the properties of an object, JavaScript will traverse the
52-
prototype chain **upwards** until it finds a property with the requested name.
51+
オブジェクトのプロパティにアクセスする時には、JavaScriptはプロトタイプチェーンを要求された名前を見つけるまで**遡って**探索します。
5352

54-
When it reaches the top of the chain - namely `Object.prototype` - and still
55-
hasn't found the specified property, it will return the value
56-
[undefined](#core.undefined) instead.
53+
チェーンの先頭(すなわち`Object.prototype`)に到達した際に、まだ指定されたプロパティが見つからなければ、代わりに[undefined](#core.undefined)という値を返します。
5754

5855
### The Prototype Property
5956

0 commit comments

Comments
 (0)