diff options
author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-09-16 23:57:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-16 23:57:54 +0900 |
commit | d9247fba6815cc11d44e0c7c59c69157c830c467 (patch) | |
tree | 7abc2a636b4b639d57e1ff601de1adebec6c14c3 /files/ja/web/javascript/reference/global_objects/error/tosource | |
parent | e921a9c17cc7c93b3418de230602d8e0dd20041b (diff) | |
download | translated-content-d9247fba6815cc11d44e0c7c59c69157c830c467.tar.gz translated-content-d9247fba6815cc11d44e0c7c59c69157c830c467.tar.bz2 translated-content-d9247fba6815cc11d44e0c7c59c69157c830c467.zip |
Web/JavaScript 以下の文書内のリンクURLを正規化 (#2354)
- /en-US へのリンクを /ja へのリンクに修正
- /ja が付いていないものに /ja を付加
- MDN内のリンクが完全URLの場合、 /ja/docs からのURLに修正
Diffstat (limited to 'files/ja/web/javascript/reference/global_objects/error/tosource')
-rw-r--r-- | files/ja/web/javascript/reference/global_objects/error/tosource/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/web/javascript/reference/global_objects/error/tosource/index.html b/files/ja/web/javascript/reference/global_objects/error/tosource/index.html index d556359110..7c29c650fa 100644 --- a/files/ja/web/javascript/reference/global_objects/error/tosource/index.html +++ b/files/ja/web/javascript/reference/global_objects/error/tosource/index.html @@ -24,7 +24,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Error/toSource <h3 id="Using_toSource">Using toSource</h3> -<p>{{jsxref("Error")}} インスタンス (<em><a href="/docs/Web/JavaScript/Reference/Global_Objects/Error#Error_types">NativeErrors</a></em> を含む) の <code>toSource</code> メソッドを呼び出すと、エラーのソースコードを含む文字列を返します。この文字列を評価して (ほぼ) 等しいオブジェクトを生成できます。通常、この文字列には、{{jsxref("Error")}} コンストラクターの構造に続けて下記のようにソースが含まれます。</p> +<p>{{jsxref("Error")}} インスタンス (<em><a href="/ja/docs/Web/JavaScript/Reference/Global_Objects/Error#Error_types">NativeErrors</a></em> を含む) の <code>toSource</code> メソッドを呼び出すと、エラーのソースコードを含む文字列を返します。この文字列を評価して (ほぼ) 等しいオブジェクトを生成できます。通常、この文字列には、{{jsxref("Error")}} コンストラクターの構造に続けて下記のようにソースが含まれます。</p> <pre class="brush: js notranslate">(new<em>name</em>(<em>message</em> ,<em>fileName</em>,<em>lineNumber</em>)) </pre> |