aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/javascript/reference/errors/negative_repetition_count
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2021-06-25 01:17:20 +0900
committerGitHub <noreply@github.com>2021-06-25 01:17:20 +0900
commit9b965a794d8e500fc0414f234f451a0c6b464984 (patch)
treec0b7985200f9d14396ad6eae3aea6ca1b33a8777 /files/ja/web/javascript/reference/errors/negative_repetition_count
parent74c650c03c337ff0868bd860b886c3af8befb743 (diff)
downloadtranslated-content-9b965a794d8e500fc0414f234f451a0c6b464984.tar.gz
translated-content-9b965a794d8e500fc0414f234f451a0c6b464984.tar.bz2
translated-content-9b965a794d8e500fc0414f234f451a0c6b464984.zip
Web/JavaScript/Reference/Errors/N* を更新 (#1202)
* Web/JavaScript/Reference/Errors/N* を更新 2021/06/14 時点の英語版に同期 * 追加修正
Diffstat (limited to 'files/ja/web/javascript/reference/errors/negative_repetition_count')
-rw-r--r--files/ja/web/javascript/reference/errors/negative_repetition_count/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ja/web/javascript/reference/errors/negative_repetition_count/index.html b/files/ja/web/javascript/reference/errors/negative_repetition_count/index.html
index 406914eb76..fceff9bdd9 100644
--- a/files/ja/web/javascript/reference/errors/negative_repetition_count/index.html
+++ b/files/ja/web/javascript/reference/errors/negative_repetition_count/index.html
@@ -23,7 +23,7 @@ RangeError: Invalid count value (Chrome)
<p>{{jsxref("RangeError")}}</p>
-<h2 id="What_went_wrong">原因</h2>
+<h2 id="What_went_wrong">エラーの原因</h2>
<p>{{jsxref("String.prototype.repeat()")}} メソッドを使用しています。 <code>count</code> 引数は、文字列の繰り返し回数を指定します。 これは 0 から正の {{jsxref("Infinity")}} 未満の値である必要があり、負の数は使用できません。 有効値の範囲は [0, +∞) のように説明できます。</p>
@@ -33,7 +33,7 @@ RangeError: Invalid count value (Chrome)
<pre class="brush: js example-bad">'abc'.repeat(-1); // RangeError </pre>
-<h3 id="Valid_cases">有効なケース</h3>
+<h3 id="Valid_cases">有効な場合</h3>
<pre class="brush: js example-good">'abc'.repeat(0); // ''
'abc'.repeat(1); // 'abc'