File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
use-case/nodecli/refactor-and-unittest Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -474,7 +474,7 @@ if (Object.hasOwn(obj, "key")) {
474474この動作の違いを知るにはまずプロトタイプオブジェクトという特殊なオブジェクトについて理解する必要があります。
475475そのため、` in ` 演算子と` Object.hasOwn ` 静的メソッドの違いについては、次の章の「[ プロトタイプオブジェクト] [ ] 」で詳しく解説します。
476476
477- ## プロパティの存在確認: ` Object.prototype.hasOwnProperty ` メソッド {#hasOwnProperty-method}
477+ ### プロパティの存在確認: ` Object.prototype.hasOwnProperty ` メソッド {#hasOwnProperty-method}
478478
479479` Object.hasOwn ` 静的メソッドはES2022で導入されたメソッドです。
480480ES2022より前では、` Object.prototype.hasOwnProperty ` メソッドというよく似たメソッドが利用されていました。
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ IssueやPull Requestについては、次のページを参照してください
199199
200200<!-- textlint-enable no-use-prototype-hash -->
201201
202- ECMAScriptはアップデートにより、機能的が利用できなくなるという変更はほぼありません 。
202+ ECMAScriptはアップデートにより、機能が利用できなくなるという変更はほぼありません 。
203203その点では、初版で紹介したJavaScriptは現在でも動作します。
204204
205205一方で、実際の利用のされ方などの状況を見て、使われなくなっていく機能はあります。
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ npmを使ったパッケージ管理や外部モジュールの利用、`fs`モ
193193
194194## このセクションのチェックリスト {#section-checklist}
195195
196- - Markdownの変換処理をCommonJSモジュールとして ` md2html.js ` に切り出し、` main.js ` から読み込んだ
196+ - Markdownの変換処理をECMAScriptモジュールとして ` md2html.js ` に切り出し、` main.js ` から読み込んだ
197197- mochaパッケージをインストールし、` npm test ` コマンドで` mocha ` コマンドを実行できることを確認した
198198- ` md2html ` 関数のユニットテストを作成し、テストの実行結果を確認した
199199
You can’t perform that action at this time.
0 commit comments