aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/javascript/reference/global_objects/error/message
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/javascript/reference/global_objects/error/message')
-rw-r--r--files/ja/web/javascript/reference/global_objects/error/message/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/web/javascript/reference/global_objects/error/message/index.html b/files/ja/web/javascript/reference/global_objects/error/message/index.html
index 0479f2c85a..c9ae29819b 100644
--- a/files/ja/web/javascript/reference/global_objects/error/message/index.html
+++ b/files/ja/web/javascript/reference/global_objects/error/message/index.html
@@ -14,7 +14,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Error/message
<h2 id="Description" name="Description">解説</h2>
-<p>このプロパティは、利用可能または設定されている場合、エラーの簡潔な説明を含みます。<a href="/docs/Mozilla/Projects/SpiderMonkey">SpiderMonkey</a> は、例外の <code>message</code> プロパティを広範囲に渡って使用します。{{jsxref("Error.prototype.name", "name")}} プロパティは <code>message</code> プロパティとの組み合わせで、Error の文字列表現を生成するために {{jsxref("Error.prototype.toString()")}} メソッドにより使用されます。</p>
+<p>このプロパティは、利用可能または設定されている場合、エラーの簡潔な説明を含みます。<a href="/ja/docs/Mozilla/Projects/SpiderMonkey">SpiderMonkey</a> は、例外の <code>message</code> プロパティを広範囲に渡って使用します。{{jsxref("Error.prototype.name", "name")}} プロパティは <code>message</code> プロパティとの組み合わせで、Error の文字列表現を生成するために {{jsxref("Error.prototype.toString()")}} メソッドにより使用されます。</p>
<p>既定で <code>message</code> プロパティは空文字列ですが、この振る舞いは、 {{jsxref("Error/Error", "Error")}} コンストラクターの第一引数としてメッセージを指定することにより、インスタンスを上書きできます。</p>