Skip to content

Commit

Permalink
Merge pull request #872 from TamagawaJousui/refactor/issues846
Browse files Browse the repository at this point in the history
オプショナルチェーンの説明修正
  • Loading branch information
t-yng authored Jun 16, 2024
2 parents 7e69a2e + 78bad6f commit 9ab36ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_label: オプショナルチェーン

# オプショナルチェーン (optional chaining)

JavaScriptのオプショナルチェーン`?.`は、オブジェクトのプロパティが存在しない場合でも、エラーを起こさずにプロパティを参照できる安全な方法です。
JavaScriptのオプショナルチェーン`?.`は、オブジェクトの参照が`null``undefined`の場合でも、エラーを起こさずにプロパティを参照できる安全な方法です。

## プロパティ参照がエラーになる問題

Expand Down

0 comments on commit 9ab36ff

Please sign in to comment.