aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/javascript/reference
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-11 18:59:39 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-11 18:59:39 -0500
commitd192fb918b0e2aa8869de6dcc59de8464b6e879a (patch)
tree3dc6f395a53be89041c52e9326baf908ffa3f3a6 /files/ja/web/javascript/reference
parente3e12548adeb7e1dcfc4d5b32884a225ee2b499d (diff)
downloadtranslated-content-d192fb918b0e2aa8869de6dcc59de8464b6e879a.tar.gz
translated-content-d192fb918b0e2aa8869de6dcc59de8464b6e879a.tar.bz2
translated-content-d192fb918b0e2aa8869de6dcc59de8464b6e879a.zip
dump 2020-12-11
Diffstat (limited to 'files/ja/web/javascript/reference')
-rw-r--r--files/ja/web/javascript/reference/global_objects/array/sort/index.html19
-rw-r--r--files/ja/web/javascript/reference/global_objects/intl/datetimeformat/datetimeformat/index.html60
-rw-r--r--files/ja/web/javascript/reference/global_objects/intl/datetimeformat/formatrange/index.html26
-rw-r--r--files/ja/web/javascript/reference/global_objects/intl/datetimeformat/supportedlocalesof/index.html103
-rw-r--r--files/ja/web/javascript/reference/global_objects/intl/listformat/index.html4
-rw-r--r--files/ja/web/javascript/reference/global_objects/intl/numberformat/formattoparts/index.html4
6 files changed, 117 insertions, 99 deletions
diff --git a/files/ja/web/javascript/reference/global_objects/array/sort/index.html b/files/ja/web/javascript/reference/global_objects/array/sort/index.html
index 6719c55cd4..77437acb42 100644
--- a/files/ja/web/javascript/reference/global_objects/array/sort/index.html
+++ b/files/ja/web/javascript/reference/global_objects/array/sort/index.html
@@ -12,7 +12,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/sort
---
<div>{{JSRef}}</div>
-<p><code><strong>sort()</strong></code> メソッドは、配列の要素を <em><a href="https://ja.wikipedia.org/wiki/In-place アルゴリズム">in place</a></em> でソートします。既定のソート順は昇順で、要素を文字列に変換してから、UTF-16 コード単位の値の並びとして比較します。</p>
+<p><code><strong>sort()</strong></code> メソッドは、配列の要素を <em><a href="https://ja.wikipedia.org/wiki/In-place%E3%82%A2%E3%83%AB%E3%82%B4%E3%83%AA%E3%82%BA%E3%83%A0">in place</a></em> でソートします。既定のソート順は昇順で、要素を文字列に変換してから、UTF-16 コード単位の値の並びとして比較します。</p>
<p>このソートで消費される CPU時間やメモリースペースは実装に依存するので、ここで言及することは出来ません。</p>
@@ -28,21 +28,20 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Array/sort
<h3 id="Parameters" name="Parameters">引数</h3>
<dl>
+ <dt><code>firstEl</code></dt>
+ <dd>比較対象の一つ目の要素を指定します。</dd>
+ <dt><code>secondEl</code></dt>
+ <dd>比較対象の二つ目の要素を指定します。</dd>
+</dl>
+
+<dl>
<dt><code>compareFunction</code> {{optional_inline}}</dt>
<dd>ソート順を定義する関数を指定します。省略された場合、配列の各要素は文字列に変換され、各文字の <a href="/ja/docs/Web/JavaScript/Guide/Values,_variables,_and_literals#Unicode">Unicode</a> のコードポイント順に従ってソートされます。</dd>
- <dl>
- <dt><code>firstEl</code></dt>
- <dd>比較対象の一つ目の要素を指定します。</dd>
- <dt><code>secondEl</code></dt>
- <dd>比較対象の二つ目の要素を指定します。</dd>
- </dl>
-
</dl>
-
<h3 id="Return_value" name="Return_value">返値</h3>
-<p>ソートされた結果の配列。ソートは対象配列上で <em><a href="https://en.wikipedia.org/wiki/In-place_algorithm">in place</a></em> に行われることに注意して下さい。コピーされた別の配列が準備されることはありません。</p>
+<p>ソートされた結果の配列。ソートは対象配列上で <em><a href="https://ja.wikipedia.org/wiki/In-place%E3%82%A2%E3%83%AB%E3%82%B4%E3%83%AA%E3%82%BA%E3%83%A0">in place</a></em> に行われることに注意して下さい。コピーされた別の配列が準備されることはありません。</p>
<h2 id="Description" name="Description">解説</h2>
diff --git a/files/ja/web/javascript/reference/global_objects/intl/datetimeformat/datetimeformat/index.html b/files/ja/web/javascript/reference/global_objects/intl/datetimeformat/datetimeformat/index.html
index 049e69396d..76ae82a7c6 100644
--- a/files/ja/web/javascript/reference/global_objects/intl/datetimeformat/datetimeformat/index.html
+++ b/files/ja/web/javascript/reference/global_objects/intl/datetimeformat/datetimeformat/index.html
@@ -20,14 +20,14 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/Date
<h2 id="Syntax" name="Syntax">構文</h2>
-<pre class="syntaxbox">new Intl.DateTimeFormat([<var>locales</var>[, <var>options</var>]])</pre>
+<pre class="syntaxbox notranslate">new Intl.DateTimeFormat([<var>locales</var>[, <var>options</var>]])</pre>
<h3 id="Parameters" name="Parameters">引数</h3>
<dl>
<dt><code><var>locales</var></code> {{optional_inline}}</dt>
<dd>
- <p>BCP47 言語タグの文字列、または、そのような文字列の配列です。ブラウザーの既定のロケールを使用するには、この引数を省略するか、 <code>undefined</code> を渡すかしてください。 Unicode 拡張に対応しています (例えば "<code>en-US-u-ca-buddhist</code>" など)。 <code>locales</code> 引数の一般的な形式と解釈は、 {{jsxref("Global_Objects/Intl", "Intl", "#Locale_identification_and_negotiation", 1)}} のページをご覧ください。次の Unicode 拡張キーが利用できます。</p>
+ <p>BCP47 言語タグの文字列、または、そのような文字列の配列です。ブラウザーの既定のロケールを使用するには、空の配列を渡してください。。 Unicode 拡張に対応しています (例えば "<code>en-US-u-ca-buddhist</code>" など)。 <code>locales</code> 引数の一般的な形式と解釈は、 {{jsxref("Global_Objects/Intl", "Intl", "#Locale_identification_and_negotiation", 1)}} のページをご覧ください。次の Unicode 拡張キーが利用できます。</p>
<dl>
<dt><code>nu</code></dt>
@@ -51,6 +51,10 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/Date
<li>"<code>medium</code>"</li>
<li>"<code>short</code>"</li>
</ul>
+
+ <div class="blockIndicator note">
+ <p><code>dateStyle</code> は <code>timeStyle</code> と一緒に使用することができますが、他のオプションと一緒に使用することができません (例えば <code>weekday</code>, <code>hour</code>, <code>month</code>, など)。</p>
+ </div>
</dd>
<dt><code>timeStyle</code></dt>
<dd><code>format()</code> が呼び出された際に使用される時刻の書式化スタイルです。利用可能な値は以下のとおりです。
@@ -61,8 +65,11 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/Date
<li>"<code>short</code>"</li>
</ul>
</dd>
- <dt><code>fractionalSecondDigits</code></dt>
- <dd><code>format()</code> を呼び出したときに適用する秒の小数点以下の桁数です。有効な値は 0-3 です。</dd>
+ <dd>
+ <div class="blockIndicator note">
+ <p><code>timeStyle</code> は <code>dateStyle</code> と一緒に使用することができますが、他のオプションと一緒に使用することができません (例えば <code>weekday</code>, <code>hour</code>, <code>month</code>, など)。</p>
+ </div>
+ </dd>
<dt><code>calendar</code></dt>
<dd>暦です。有効な値は、 "<code>buddhist</code>", "<code>chinese</code>", " <code>coptic</code>", "<code>ethiopia</code>", "<code>ethiopic</code>", "<code>gregory</code>", " <code>hebrew</code>", "<code>indian</code>", "<code>islamic</code>", "<code>iso8601</code>", " <code>japanese</code>", "<code>persian</code>", "<code>roc</code>" です。</dd>
<dt><code>dayPeriod</code></dt>
@@ -142,6 +149,20 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/Date
<dd>分の表現です。利用可能な値は "<code>numeric</code>", "<code>2-digit</code>" です。</dd>
<dt><code>second</code></dt>
<dd>秒の表現です。利用可能な値は "<code>numeric</code>", "<code>2-digit</code>" です。</dd>
+ <dt><code>fractionalSecondDigits</code></dt>
+ <dd>
+ <div class="blockIndicator note">
+ <p class="noinclude">Firefox 84, Chrome 84, などで追加されました。詳しくは互換性一覧表を参照してください。</p>
+ </div>
+ 秒の小数点以下を表すために使用される数字の桁数 (その先の桁は切り捨てられます)。利用可能な値は次の通りです。
+
+ <ul>
+ <li><code>0</code> (小数点以下は切り捨て)</li>
+ <li><code>1</code> (小数点以下は1桁で表される。例えば、 736 は <code>7</code> と書式化される。)</li>
+ <li><code>2</code> (小数点以下は2桁で表される。例えば、 736 は <code>73</code> と書式化される。)</li>
+ <li><code>3</code> (小数点以下は2桁で表される。例えば、 736 は <code>736</code> と書式化される。)</li>
+ </ul>
+ </dd>
<dt><code>timeZoneName</code></dt>
<dd>タイムゾーン名の表現です。利用可能な値は以下の通りです。
<ul>
@@ -155,6 +176,37 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/Date
</dd>
</dl>
+<h2 id="Examples" name="Examples">例</h2>
+
+<h3 id="Using_DateTimeFormat" name="Using_DateTimeFormat">DateTimeFormat の使用</h3>
+
+<p>ロケールを指定しない基本的な使用方法では、 <code>DateTimeFormat</code> は既定のロケールとオプションを使用します。</p>
+
+<pre class="brush: js notranslate">var date = new Date(Date.UTC(2012, 11, 20, 3, 0, 0));
+
+// toLocaleString without arguments depends on the implementation,
+// the default locale, and the default time zone
+console.log(new Intl.DateTimeFormat().format(date));
+// → "12/19/2012" if run with en-US locale (language) and time zone America/Los_Angeles (UTC-0800)</pre>
+
+<h3 id="Using_timeStyle_and_dateStyle" name="Using_timeStyle_and_dateStyle">timeStyle と dateStyle の使用</h3>
+
+<pre class="brush: js notranslate">let o = new Intl.DateTimeFormat("en" , {
+ timeStyle: "short"
+});
+console.log(o.format(Date.now())); // "13:31 AM"
+
+let o = new Intl.DateTimeFormat("en" , {
+ dateStyle: "short"
+});
+console.log(o.format(Date.now())); // "07/07/20"
+
+let o = new Intl.DateTimeFormat("en" , {
+ timeStyle: "medium",
+ dateStyle: "short"
+});
+console.log(o.format(Date.now())); // "07/07/20, 13:31:55 AM"</pre>
+
<h2 id="Specifications" name="Specifications">仕様書</h2>
<table class="standard-table">
diff --git a/files/ja/web/javascript/reference/global_objects/intl/datetimeformat/formatrange/index.html b/files/ja/web/javascript/reference/global_objects/intl/datetimeformat/formatrange/index.html
index 39d0d6212e..36091b38c9 100644
--- a/files/ja/web/javascript/reference/global_objects/intl/datetimeformat/formatrange/index.html
+++ b/files/ja/web/javascript/reference/global_objects/intl/datetimeformat/formatrange/index.html
@@ -10,23 +10,23 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/form
---
<div>{{JSRef}}</div>
-<p><strong><code>Intl.DateTimeFormat.prototype.formatRange()</code></strong> は、日付の範囲をもっとも簡明な方法で、 {{jsxref("DateTimeFormat", "Intl.DateTimeFormat")}} オブジェクトがインスタンス化されたときに提供された <strong><code>locale</code></strong> と <code><strong>options</strong></code> に基づいて書式化します。</p>
+<p><strong><code>Intl.DateTimeFormat.prototype.formatRange()</code></strong> は、日付の範囲をもっとも簡明な方法で、 {{jsxref("DateTimeFormat", "Intl.DateTimeFormat")}} オブジェクトがインスタンス化されたときに提供された <strong><code>locale</code></strong> と <strong><code>options</code></strong> に基づいて書式化します。</p>
<div>{{EmbedInteractiveExample("pages/js/intl-datetimeformat-prototype-formatrange.html", "taller")}}</div>
-<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</p>
+<div class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力していただける場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</div>
<h2 id="Syntax" name="Syntax">構文</h2>
-<pre><code>Intl.DateTimeFormat.prototype.formatRange(<var>startDate, endDate</var>)</code></pre>
+<pre class="notranslate"><code>Intl.DateTimeFormat.prototype.formatRange(<var>startDate, endDate</var>)</code></pre>
<h2 id="Examples" name="Examples">例</h2>
-<h3 id="Basic_formatRange_usage" name="Basic_formatRange_usage">基本的な <code>formatRange</code> の使用</h3>
+<h3 id="Basic_formatRange_usage" name="Basic_formatRange_usage">基本的な formatRange の使用</h3>
-<p>このメソッドは2つの {{jsxref("Date")}} を受け取り、 {{jsxref("DateTimeFormat", "Intl.DateTimeFormat")}} オブジェクトがインスタンス化されたときに提供された <strong><code>locale</code></strong> と <code><strong>options</strong></code> に基づいて日付の範囲を書式化します。</p>
+<p>このメソッドは2つの {{jsxref("Date")}} を受け取り、 {{jsxref("DateTimeFormat", "Intl.DateTimeFormat")}} オブジェクトがインスタンス化されたときに提供された <code>locale</code> と <code>options</code> に基づいて日付の範囲を書式化します。</p>
-<pre class="brush: js">let date1 = new Date(Date.UTC(2007, 0, 10, 10, 0, 0));
+<pre class="brush: js notranslate">let date1 = new Date(Date.UTC(2007, 0, 10, 10, 0, 0));
let date2 = new Date(Date.UTC(2007, 0, 10, 11, 0, 0));
let date3 = new Date(Date.UTC(2007, 0, 20, 10, 0, 0));
// &gt; 'Wed, 10 Jan 2007 10:00:00 GMT'
@@ -66,19 +66,23 @@ console.log(fmt2.formatRange(date1, date3));
<thead>
<tr>
<th scope="col">仕様書</th>
- <th scope="col">状態</th>
- <th scope="col">備考</th>
</tr>
</thead>
<tbody>
<tr>
- <td><a href="https://tc39.es/proposal-intl-DateTimeFormat-formatRange/#sec-intl.datetimeformat.prototype.formatRange">Intl.DateTimeFormat.prototype.formatRange</a></td>
- <td>Stage 3</td>
- <td></td>
+ <td>{{SpecName('Intl.DateTimeFormat.formatRange', '#sec-intl.datetimeformat.prototype.formatRange', 'formatRange()')}}</td>
</tr>
</tbody>
</table>
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
+
+<div>
+<div class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 <a class="external" href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</div>
+
+<p>{{Compat("javascript.builtins.Intl.DateTimeFormat.formatRange")}}</p>
+</div>
+
<h2 id="See_also" name="See_also">関連情報</h2>
<ul>
diff --git a/files/ja/web/javascript/reference/global_objects/intl/datetimeformat/supportedlocalesof/index.html b/files/ja/web/javascript/reference/global_objects/intl/datetimeformat/supportedlocalesof/index.html
index 0be4ec7300..d6659432fc 100644
--- a/files/ja/web/javascript/reference/global_objects/intl/datetimeformat/supportedlocalesof/index.html
+++ b/files/ja/web/javascript/reference/global_objects/intl/datetimeformat/supportedlocalesof/index.html
@@ -9,120 +9,77 @@ tags:
- Prototype
translation_of: Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/supportedLocalesOf
---
-<div>{{JSRef("Global_Objects", "DateTimeFormat", "Intl,Collator,NumberFormat")}}</div>
+<div>{{JSRef}}</div>
-<h2 id="概要">概要</h2>
+<p><strong><code>Intl.DateTimeFormat.supportedLocalesOf()</code></strong> メソッドは、ランタイムの既定のロケールで代替する必要なく日時の書式で対応されているものを含む配列を返します。</p>
-<p>ランタイムのデフォルトローケルに戻る必要なしでフォーマットしている日時でサポートしている提供されているローケルを含んでいる配列を返します。</p>
+<div>{{EmbedInteractiveExample("pages/js/intl-datetimeformat-prototype-supportedlocalesof.html","shorter")}}</div>
+
+<div class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力していただける場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</div>
<h2 id="Syntax" name="Syntax">構文</h2>
-<pre class="syntaxbox"><code>Intl.DateTimeFormat.supportedLocalesOf(<var>locales</var>[, <var>options</var>])</code></pre>
+<pre class="syntaxbox notranslate">Intl.DateTimeFormat.supportedLocalesOf(<var>locales</var>[, <var>options</var>])</pre>
<h3 id="Parameters" name="Parameters">引数</h3>
<dl>
- <dt><code>locales</code></dt>
- <dd>BCP47言語タグの文字列、そのような文字列の配列。 <code>locales</code>引数の一般的な形式に対して、{{jsxref("Global_Objects/Intl", "Intl page", "#Locale_identification_and_negotiation", 1)}}を確かめて下さい。</dd>
- <dt><code>options</code></dt>
+ <dt><code><var>locales</var></code></dt>
+ <dd>BCP 47 言語タグを持つ文字列、またはそのような文字列の配列です。 <code>locales</code> 引数の一般的な形式については、 {{jsxref("Intl", "Intl のページ", "#Locale_identification_and_negotiation", 1)}}を参照してください。</dd>
+ <dt><code><var>options</var></code></dt>
<dd>
- <p>オプション。次のプロパティを持つオブジェクト:</p>
+ <p>省略可能です。以下のプロパティを持つことがあるオブジェクトです。</p>
<dl>
<dt><code>localeMatcher</code></dt>
- <dd>使っているローケルマッチングアルゴリズム。利用可能な値は<code>"lookup"</code>、<code>"best fit"</code>。デフォルトでは <code>"best fit"</code>。このオプションについての情報のために、{{jsxref("Global_Objects/Intl", "Intl page", "#Locale_negotiation", 1)}}を確かめて下さい。</dd>
+ <dd>使用するロケールの一致アルゴリズムです。指定可能な値は <code>lookup</code> および <code>best fit</code> で、既定値は <code>best fit</code> です。このオプションの詳細は、 {{jsxref("Intl", "Intl のページ", "#Locale_negotiation", 1)}}を参照してください。</dd>
</dl>
</dd>
</dl>
-<h2 id="説明">説明</h2>
+<h3 id="Return_value" name="Return_value">返値</h3>
+
+<p>指定したロケールタグのサブセットを表す文字列の配列で、ランタイムの既定のロケールで代替する必要なく日時の書式で対応されているものを含みます。</p>
+
+<h2 id="Description" name="Description">解説</h2>
-<p><code>locales</code>で提供されている言語タグのサブセットを持つ配列を返します。返される言語タグは、ランタイムがローケルマッチングアルゴリズムを使って考慮してフォーマットしている日時でのローケルをサポートしていてるので、デフォルトローケルに戻る必要はありません。</p>
+<p><code>locales</code> で提供されている言語タグのサブセットを含む配列を返します。返される言語タグは、ランタイムが日時のロケールに対応しているもので、使用しているロケール一致アルゴリズムで一致しているとみなされているものです。</p>
-<h2 id="例">例</h2>
+<h2 id="Examples" name="Examples">例</h2>
-<h3 id="例_supportedLocalesOfを使う">例: <code>supportedLocalesOf</code>を使う</h3>
+<h3 id="Using_supportedLocalesOf" name="Using_supportedLocalesOf">supportedLocalesOf() の使用</h3>
-<p>日時のフォーマットで、バリ語ではなく、インドネシア語とドイツ語をサポートしているランタイムを仮定すると、<code>supportedLocalesOf</code>はインドネシア語とドイツ語の言語タグを返します。ピンインは日時のフォーマットには適切ではなくインドネシア語では使われません。インドネシアの特定のドイツ語はサポートされそうにもありません。 <code>"lookup"</code>アルゴリズムの指定に注意して下さい。<code>"best fit"</code>はインドネシア語はバリ語に対して、十分にふさわしいと決定するかもしれません。というのも、 ほとんどのバリの人はインドネシア語も理解するからです。それゆえバリ言語タグも同様に返します。</p>
+<p>日時の書式でインドネシア語とドイツ語に対応しており、バリ語に対応していないランタイムを想定すると、 <code>supportedLocalesOf</code> はインドネシア語とドイツ語の言語タグを変更せずに返しますが、 pinyin の照合は日時の書式には関係なく、インドネシア語でも使用されません。ここでの <code>lookup</code> アルゴリズムの仕様に注意してください — バリ語話者のほとんどはインドネシア語も理解しているので、 <code>best fit</code> のマッチャーはインドネシア語がバリ語に適切に一致すると判断し、バリ語の言語タグも返すかもしれません。</p>
-<pre class="brush: js">var locales = ['ban', 'id-u-co-pinyin', 'de-ID'];
+<pre class="brush: js notranslate">var locales = ['ban', 'id-u-co-pinyin', 'de-ID'];
var options = { localeMatcher: 'lookup' };
console.log(Intl.DateTimeFormat.supportedLocalesOf(locales, options).join(', '));
// → "id-u-co-pinyin, de-ID"
</pre>
-<h2 id="仕様">仕様</h2>
+<h2 id="Specifications" name="Specifications">仕様書</h2>
<table class="standard-table">
<tbody>
<tr>
- <th scope="col">仕様</th>
- <th scope="col">状況</th>
- <th scope="col">コメント</th>
+ <th scope="col">仕様書</th>
</tr>
<tr>
- <td>{{SpecName('ES Int 1.0', '#sec-12.2.2', 'Intl.DateTimeFormat.supportedLocalesOf')}}</td>
- <td>{{Spec2('ES Int 1.0')}}</td>
- <td>Initial definition.</td>
+ <td>{{SpecName('ES Int Draft', '#sec-intl.datetimeformat.supportedlocalesof', 'Intl.DateTimeFormat.supportedLocalesOf')}}</td>
</tr>
</tbody>
</table>
-<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザ実装状況</h2>
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
-<div>{{CompatibilityTable}}</div>
+<div>
+<div class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 <a class="external" href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</div>
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatChrome("24")}}</td>
- <td>{{CompatGeckoDesktop("29")}}</td>
- <td>{{CompatIE("11")}}</td>
- <td>{{CompatOpera("15")}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>機能</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome("26")}}</td>
- <td>{{CompatNo}}<br>
- {{bug("864843")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
+<p>{{Compat("javascript.builtins.Intl.DateTimeFormat.supportedLocalesOf")}}</p>
</div>
-<h2 id="関連情報">関連情報</h2>
+<h2 id="See_also" name="See_also">関連情報</h2>
<ul>
- <li>{{jsxref("Global_Objects/DateTimeFormat", "Intl.DateTimeFormat")}}</li>
+ <li>{{jsxref("DateTimeFormat", "Intl.DateTimeFormat")}}</li>
</ul>
diff --git a/files/ja/web/javascript/reference/global_objects/intl/listformat/index.html b/files/ja/web/javascript/reference/global_objects/intl/listformat/index.html
index 08be4d24aa..453fd66739 100644
--- a/files/ja/web/javascript/reference/global_objects/intl/listformat/index.html
+++ b/files/ja/web/javascript/reference/global_objects/intl/listformat/index.html
@@ -74,6 +74,10 @@ console.log(new Intl.ListFormat('en-GB', { style: 'long', type: 'conjunction' })
// { "type": "element", "value": "Car" } ];
</pre>
+<h2 id="Polyfill" name="Polyfill">ポリフィル</h2>
+
+<p><a href="https://formatjs.io/docs/polyfills/intl-listformat">formatjs Intl.ListFormat polyfill</a></p>
+
<h2 id="Specifications" name="Specifications">仕様書</h2>
<table class="standard-table">
diff --git a/files/ja/web/javascript/reference/global_objects/intl/numberformat/formattoparts/index.html b/files/ja/web/javascript/reference/global_objects/intl/numberformat/formattoparts/index.html
index 5d4a91fc85..240d9d2219 100644
--- a/files/ja/web/javascript/reference/global_objects/intl/numberformat/formattoparts/index.html
+++ b/files/ja/web/javascript/reference/global_objects/intl/numberformat/formattoparts/index.html
@@ -14,7 +14,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/format
---
<div>{{JSRef}}</div>
-<p><strong><code>Intl.Numberformat.prototype.formatToParts()</code></strong> メソッドは <code>NumberTimeFormat</code> フォーマッターによって生成された文字列のロケールに応じた書式設定を可能にします。</p>
+<p><strong><code>Intl.Numberformat.prototype.formatToParts()</code></strong> メソッドは <code>NumberFormat</code> フォーマッターによって生成された文字列のロケールに応じた書式設定を可能にします。</p>
<h2 id="Syntax" name="Syntax">構文</h2>
@@ -69,6 +69,8 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/format
<dl>
<dt>percentSign</dt>
<dd>パーセント文字列 ("%")。</dd>
+ <dt>unit</dt>
+ <dd>単位の文字列、例えば "l" または "litres" で、 <code>unitDisplay</code> がどのように指定されているかに依存します。</dd>
</dl>
<h2 id="Examples" name="Examples">例</h2>