We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c975db commit 1fbff77Copy full SHA for 1fbff77
source/basic/object/README.md
@@ -474,7 +474,7 @@ if (Object.hasOwn(obj, "key")) {
474
この動作の違いを知るにはまずプロトタイプオブジェクトという特殊なオブジェクトについて理解する必要があります。
475
そのため、`in`演算子と`Object.hasOwn`静的メソッドの違いについては、次の章の「[プロトタイプオブジェクト][]」で詳しく解説します。
476
477
-## プロパティの存在確認: `Object.prototype.hasOwnProperty`メソッド {#hasOwnProperty-method}
+### プロパティの存在確認: `Object.prototype.hasOwnProperty`メソッド {#hasOwnProperty-method}
478
479
`Object.hasOwn`静的メソッドはES2022で導入されたメソッドです。
480
ES2022より前では、`Object.prototype.hasOwnProperty`メソッドというよく似たメソッドが利用されていました。
0 commit comments