aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/javascript/reference/global_objects/map/@@species
diff options
context:
space:
mode:
authorMDN <actions@users.noreply.github.com>2021-06-23 00:34:06 +0000
committerMDN <actions@users.noreply.github.com>2021-06-23 00:34:06 +0000
commit52ccdf1f0a1cee3f0659ac78e81c79dae152399b (patch)
treeb17424899ff0c32cee6820a6921edd9999da6ea1 /files/ja/web/javascript/reference/global_objects/map/@@species
parentd62c8afe56395e9e793dab0f629b2a1694449c82 (diff)
downloadtranslated-content-52ccdf1f0a1cee3f0659ac78e81c79dae152399b.tar.gz
translated-content-52ccdf1f0a1cee3f0659ac78e81c79dae152399b.tar.bz2
translated-content-52ccdf1f0a1cee3f0659ac78e81c79dae152399b.zip
[CRON] sync translated content
Diffstat (limited to 'files/ja/web/javascript/reference/global_objects/map/@@species')
-rw-r--r--files/ja/web/javascript/reference/global_objects/map/@@species/index.html64
1 files changed, 0 insertions, 64 deletions
diff --git a/files/ja/web/javascript/reference/global_objects/map/@@species/index.html b/files/ja/web/javascript/reference/global_objects/map/@@species/index.html
deleted file mode 100644
index 4a428acdad..0000000000
--- a/files/ja/web/javascript/reference/global_objects/map/@@species/index.html
+++ /dev/null
@@ -1,64 +0,0 @@
----
-title: 'get Map[@@species]'
-slug: Web/JavaScript/Reference/Global_Objects/Map/@@species
-tags:
- - ECMAScript 2015
- - JavaScript
- - Map
- - Property
-translation_of: Web/JavaScript/Reference/Global_Objects/Map/@@species
----
-<div>{{JSRef}}</div>
-
-<p><strong><code>Map[@@species]</code></strong> アクセサープロパティは、 <code>Map</code> コンストラクターを返します。</p>
-
-<h2 id="Description" name="Description">解説</h2>
-
-<p>species アクセサープロパティは <code>Map</code> オブジェクトのデフォルトコンストラクターを返します。サブクラスのコンストラクターは、コンストラクターに代入して変更することによりオーバーライドすることができます。</p>
-
-<h2 id="Examples" name="Examples">例</h2>
-
-<h3 id="Species_in_ordinary_objects" name="Species_in_ordinary_objects">通常のオブジェクトの species</h3>
-
-<p>species プロパティはデフォルトコンストラクター関数を返しますので、 <code>Map</code> オブジェクトには <code>Map</code> コンストラクターを返します。</p>
-
-<pre class="brush: js notranslate">Map[Symbol.species]; // function Map()</pre>
-
-<h3 id="Species_in_derived_objects" name="Species_in_derived_objects">派生オブジェクトの species</h3>
-
-<p>派生したコレクションオブジェクトの中では (例えばカスタムマップである <code>MyMap</code>)、 <code>MyMap</code> の species は <code>MyMap</code> コンストラクターになっています。しかし、これをオーバーライドして、派生クラスのメソッド内で親の <code>Map</code> オブジェクトを返したい場合があります。</p>
-
-<pre class="brush: js notranslate">class MyMap extends Map {
- // Overwrite MyMap species to the parent Map constructor
- static get [Symbol.species]() { return Map; }
-}</pre>
-
-<h2 id="Specifications" name="Specifications">仕様書</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">仕様書</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-get-map-@@species', 'get Map [ @@species ]')}}</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.Map.@@species")}}</p>
-</div>
-
-<h2 id="See_also" name="See_also">関連情報</h2>
-
-<ul>
- <li>{{jsxref("Map")}}</li>
- <li>{{jsxref("Symbol.species")}}</li>
-</ul>