aboutsummaryrefslogtreecommitdiff
path: root/files/id/web/javascript/reference/errors/not_a_codepoint
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-04-29 16:16:42 -0700
committerGitHub <noreply@github.com>2021-04-29 16:16:42 -0700
commit95aca4b4d8fa62815d4bd412fff1a364f842814a (patch)
tree5e57661720fe9058d5c7db637e764800b50f9060 /files/id/web/javascript/reference/errors/not_a_codepoint
parentee3b1c87e3c8e72ca130943eed260ad642246581 (diff)
downloadtranslated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.gz
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.bz2
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.zip
remove retired locales (#699)
Diffstat (limited to 'files/id/web/javascript/reference/errors/not_a_codepoint')
-rw-r--r--files/id/web/javascript/reference/errors/not_a_codepoint/index.html56
1 files changed, 0 insertions, 56 deletions
diff --git a/files/id/web/javascript/reference/errors/not_a_codepoint/index.html b/files/id/web/javascript/reference/errors/not_a_codepoint/index.html
deleted file mode 100644
index d3d8b2f934..0000000000
--- a/files/id/web/javascript/reference/errors/not_a_codepoint/index.html
+++ /dev/null
@@ -1,56 +0,0 @@
----
-title: 'RangeError: argument is not a valid code point'
-slug: Web/JavaScript/Reference/Errors/Not_a_codepoint
-tags:
- - Errors
- - JavaScript
- - RangeError
-translation_of: Web/JavaScript/Reference/Errors/Not_a_codepoint
----
-<div>{{jsSidebar("Errors")}}</div>
-
-<h2 id="Pesan">Pesan</h2>
-
-<pre class="syntaxbox">RangeError: Invalid code point {0} (Edge)
-RangeError: {0} is not a valid code point (Firefox)
-RangeError: Invalid code point {0} (Chrome)
-</pre>
-
-<p> </p>
-
-<h2 id="Tipe_error">Tipe error</h2>
-
-<p>{{jsxref("RangeError")}}</p>
-
-<h2 id="Apa_yang_salah">Apa yang salah?</h2>
-
-<p><span class="seoSummary">{{jsxref("String.fromCodePoint()")}} throws this error when passed {{jsxref("NaN")}} values, negative Integers (-1), non-Integers (5.4), or values larger than 0x10FFFF (1114111).</span></p>
-
-<p>Satu <a href="https://en.wikipedia.org/wiki/Code_point">poin kode</a> ialah satu nilai dalam codespace Unicode; yaitu, kisaran integer dari <code>0</code> hingga <code>0x10FFFF</code>.</p>
-
-<h2 id="Contoh">Contoh</h2>
-
-<h3 id="Kasus_tak_nvalid">Kasus tak nvalid</h3>
-
-<pre class="brush: js example-bad">String.fromCodePoint('_'); // RangeError
-String.fromCodePoint(Infinity); // RangeError
-String.fromCodePoint(-1); // RangeError
-String.fromCodePoint(3.14); // RangeError
-String.fromCodePoint(3e-2); // RangeError
-String.fromCodePoint(NaN); // RangeError</pre>
-
-<h3 id="Kasus_valid">Kasus valid</h3>
-
-<pre class="brush: js example-good">String.fromCodePoint(42); // "*"
-String.fromCodePoint(65, 90); // "AZ"
-String.fromCodePoint(0x404); // "\u0404"
-String.fromCodePoint(0x2F804); // "\uD87E\uDC04"
-String.fromCodePoint(194564); // "\uD87E\uDC04"
-String.fromCodePoint(0x1D306, 0x61, 0x1D307) // "\uD834\uDF06a\uD834\uDF07"
-</pre>
-
-<h2 id="Lihat_juga">Lihat juga</h2>
-
-<ul>
- <li>{{jsxref("String.fromCodePoint()")}}</li>
-</ul>