aboutsummaryrefslogtreecommitdiff
path: root/files/ca/web/javascript/reference/global_objects/weakmap/set
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/ca/web/javascript/reference/global_objects/weakmap/set
parentee3b1c87e3c8e72ca130943eed260ad642246581 (diff)
downloadtranslated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.gz
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.tar.bz2
translated-content-95aca4b4d8fa62815d4bd412fff1a364f842814a.zip
remove retired locales (#699)
Diffstat (limited to 'files/ca/web/javascript/reference/global_objects/weakmap/set')
-rw-r--r--files/ca/web/javascript/reference/global_objects/weakmap/set/index.html120
1 files changed, 0 insertions, 120 deletions
diff --git a/files/ca/web/javascript/reference/global_objects/weakmap/set/index.html b/files/ca/web/javascript/reference/global_objects/weakmap/set/index.html
deleted file mode 100644
index 800a097971..0000000000
--- a/files/ca/web/javascript/reference/global_objects/weakmap/set/index.html
+++ /dev/null
@@ -1,120 +0,0 @@
----
-title: WeakMap.prototype.set()
-slug: Web/JavaScript/Reference/Global_Objects/WeakMap/set
-translation_of: Web/JavaScript/Reference/Global_Objects/WeakMap/set
----
-<div>{{JSRef}}</div>
-
-<p>El mètode <code><strong>set()</strong></code> afegeix un nou element amb una <code>key</code> i un <code>value</code> especificats a un objecte <code>WeakMap</code>.</p>
-
-<h2 id="Sintaxi">Sintaxi</h2>
-
-<pre class="syntaxbox"><code><em>wm</em>.set(key, value);</code></pre>
-
-<h3 id="Paràmetres">Paràmetres</h3>
-
-<dl>
- <dt>key</dt>
- <dd>Necesari. La clau de l'element a afegir al objecte <code>WeakMap.</code></dd>
- <dt>value</dt>
- <dd>Necesari. El valor de l'element a afegir a l'objecte <code>WeakMap.</code></dd>
-</dl>
-
-<h3 id="Valor_de_retorn">Valor de retorn</h3>
-
-<p>L'objecte <code>WeakMap</code>.</p>
-
-<h2 id="Exemples">Exemples</h2>
-
-<h3 id="Utilitzar_el_mètode_set">Utilitzar el mètode <code>set</code></h3>
-
-<pre class="brush: js">var wm = new WeakMap();
-var obj = {};
-
-// Afegir nous elements al WeakMap
-wm.set(obj, "foo").set(window, "bar"); // chainable
-
-// Actualitzem un element en WeakMap
-wm.set(obj, "baz");
-</pre>
-
-<h2 id="Especificacions">Especificacions</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Especificació</th>
- <th scope="col">Estat</th>
- <th scope="col">Comentaris</th>
- </tr>
- <tr>
- <td>{{SpecName('ES6', '#sec-weakmap.prototype.set', 'WeakMap.prototype.set')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td>Definició inicial</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Compatibilitat_amb_navegadors">Compatibilitat amb navegadors</h2>
-
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Suport bàsic</td>
- <td>36</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>11</td>
- <td>23</td>
- <td>7.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Característica</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Suport bàsic</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("6.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>8</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h2 id="Notes_específiques_per_a_Firefox">Notes específiques per a Firefox</h2>
-
-<ul>
- <li>Abans de Firefox 33 {{geckoRelease("33")}}, <code>WeakMap.prototype.set</code> retornava <code>undefined</code> al no poder-se encadenar. Això s'ha arreglat  ({{bug(1031632)}}). El comportament es pot trobar també a Chrome/v8 (<a href="https://code.google.com/p/v8/issues/detail?id=3410">problema</a>).</li>
-</ul>
-
-<h2 id="Vegeu_també">Vegeu també</h2>
-
-<ul>
- <li>{{jsxref("WeakMap")}}</li>
- <li>{{jsxref("WeakMap.prototype.get()")}}</li>
- <li>{{jsxref("WeakMap.prototype.has()")}}</li>
-</ul>