Skip to content

Commit dfb53e5

Browse files
committed
translate "Performance" to ja
1 parent 924d4ca commit dfb53e5

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

‎doc/ja/object/prototype.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,12 @@ JavaScriptはプロトタイプベースが採用されている唯一の広範
6161

6262
割り当てられているオブジェクトは上記の例で示されている通りに動作し、動的にプロトタイプチェーンを作ります。
6363

64-
### Performance
64+
### パフォーマンス
6565

66-
The lookup time for properties that are high up on the prototype chain can have a
67-
negative impact on performance critical sections of code. Additionally, trying to
68-
access non-existent properties will always traverse the full prototype chain.
66+
プロトタイプチェーンの上位にあるプロパティを探索する時間はコードの実行パフォーマンスに重大な悪影響を与えます。特に存在しないプロパティにアクセスしようとすると、プロトタイプチェーンの全てのプロパティを探索してしまいます。
67+
68+
また、オブジェクトのプロパティに対して[反復](#object.forinloop)処理をすると、プロトタイプチェーン上の**全て**のプロパティを列挙してしまいます。
6969

70-
Also, when [iterating](#object.forinloop) over the properties of an object
71-
**every** property that is on the prototype chain will get enumerated.
7270

7371
### Extension of Native Prototypes
7472

0 commit comments

Comments
 (0)