From 95aca4b4d8fa62815d4bd412fff1a364f842814a Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Thu, 29 Apr 2021 16:16:42 -0700 Subject: remove retired locales (#699) --- .../global_objects/weakmap/has/index.html | 118 --------------------- 1 file changed, 118 deletions(-) delete mode 100644 files/ca/web/javascript/reference/global_objects/weakmap/has/index.html (limited to 'files/ca/web/javascript/reference/global_objects/weakmap/has/index.html') diff --git a/files/ca/web/javascript/reference/global_objects/weakmap/has/index.html b/files/ca/web/javascript/reference/global_objects/weakmap/has/index.html deleted file mode 100644 index 0a2d017462..0000000000 --- a/files/ca/web/javascript/reference/global_objects/weakmap/has/index.html +++ /dev/null @@ -1,118 +0,0 @@ ---- -title: WeakMap.prototype.has() -slug: Web/JavaScript/Reference/Global_Objects/WeakMap/has -translation_of: Web/JavaScript/Reference/Global_Objects/WeakMap/has ---- -
{{JSRef}}
- -

El mètode has() retorna un booleà indicant si un element amb una clau especificada existeix o no en l'objecte WeakMap.

- -

Sintaxi

- -
wm.has(key);
- -

Paràmetres

- -
-
key
-
Necessari. La clau de l'element a comprovar la seva presència de l'objecte WeakMap.
-
- -

valor de retorn

- -
-
Booleà
-
Retorna true si un element amb una clau especificada existeix en l'objecte WeakMap; en el cas contrari retornarà false.
-
- -

Exemples

- -

Utilitzar el mètode has

- -
var wm = new WeakMap();
-wm.set(window, "foo");
-
-wm.has(window); // retorna true
-wm.has("baz");  // retorna false
-
- -

Especificacions

- - - - - - - - - - - - - - -
EspecificacióEstatComentaris
{{SpecName('ES6', '#sec-weakmap.prototype.has', 'WeakMap.prototype.has')}}{{Spec2('ES6')}}Definició inicial
- -

Compatibilitat amb navegadors

- -

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Suport bàsic36{{CompatGeckoDesktop("6.0")}}11237.1
-
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Suport bàsic{{CompatNo}}{{CompatGeckoMobile("6.0")}}{{CompatNo}}{{CompatNo}}8
-
- -

Notes específiques per a Firefox

- - - -

Vegeu també

- - -- cgit v1.2.3-54-g00ecf