From 0ce7202a706c9036eeea42c158f433c2b7940457 Mon Sep 17 00:00:00 2001 From: YujiSoftware Date: Thu, 3 Mar 2022 22:36:23 +0900 Subject: Migrate CompatibilityTable to Compat macro (es) (#4355) * Migrate CompatibilityTable to Compat macro (es) * Migrate to multiple Compat macro (es) --- .../reference/global_objects/math/abs/index.html | 50 +------------------- .../reference/global_objects/math/asin/index.html | 54 +--------------------- .../reference/global_objects/math/atan2/index.html | 50 +------------------- .../reference/global_objects/math/exp/index.html | 50 +------------------- .../reference/global_objects/math/log10/index.html | 50 +------------------- .../global_objects/math/log10e/index.html | 50 +------------------- .../reference/global_objects/math/max/index.html | 2 + .../reference/global_objects/math/min/index.html | 50 +------------------- .../reference/global_objects/math/pi/index.html | 50 +------------------- .../reference/global_objects/math/pow/index.html | 50 +------------------- .../global_objects/math/random/index.html | 50 +------------------- .../reference/global_objects/math/round/index.html | 48 +------------------ .../reference/global_objects/math/sign/index.html | 50 +------------------- .../reference/global_objects/math/sin/index.html | 50 +------------------- .../reference/global_objects/math/sqrt/index.html | 50 +------------------- .../global_objects/math/sqrt1_2/index.html | 50 +------------------- .../reference/global_objects/math/sqrt2/index.html | 50 +------------------- .../reference/global_objects/math/trunc/index.html | 50 +------------------- 18 files changed, 19 insertions(+), 835 deletions(-) (limited to 'files/es/web/javascript/reference/global_objects/math') diff --git a/files/es/web/javascript/reference/global_objects/math/abs/index.html b/files/es/web/javascript/reference/global_objects/math/abs/index.html index 4ff4a68c56..a443cd047f 100644 --- a/files/es/web/javascript/reference/global_objects/math/abs/index.html +++ b/files/es/web/javascript/reference/global_objects/math/abs/index.html @@ -89,55 +89,7 @@ Math.abs(); // NaN

Compatibilidad en navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.abs")}}

Ver también

diff --git a/files/es/web/javascript/reference/global_objects/math/asin/index.html b/files/es/web/javascript/reference/global_objects/math/asin/index.html index 3fc8b56e89..4dfb358f66 100644 --- a/files/es/web/javascript/reference/global_objects/math/asin/index.html +++ b/files/es/web/javascript/reference/global_objects/math/asin/index.html @@ -79,59 +79,7 @@ Math.asin(2); // NaN

Compatibilidad con Navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.asin")}}

Ver Mas

diff --git a/files/es/web/javascript/reference/global_objects/math/atan2/index.html b/files/es/web/javascript/reference/global_objects/math/atan2/index.html index 26da46befd..81b8e7de3f 100644 --- a/files/es/web/javascript/reference/global_objects/math/atan2/index.html +++ b/files/es/web/javascript/reference/global_objects/math/atan2/index.html @@ -80,55 +80,7 @@ Math.atan2(±Infinity, +Infinity); // ±PI/4.

Compatibilidad con navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.atan2")}}

Ver también

diff --git a/files/es/web/javascript/reference/global_objects/math/exp/index.html b/files/es/web/javascript/reference/global_objects/math/exp/index.html index 867b28175a..4544a96aed 100644 --- a/files/es/web/javascript/reference/global_objects/math/exp/index.html +++ b/files/es/web/javascript/reference/global_objects/math/exp/index.html @@ -74,55 +74,7 @@ Math.exp(1); // 2.718281828459045

Compatibilidad con navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidChrome para AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.exp")}}

Ve también

diff --git a/files/es/web/javascript/reference/global_objects/math/log10/index.html b/files/es/web/javascript/reference/global_objects/math/log10/index.html index d3efd7e3fc..e7897db852 100644 --- a/files/es/web/javascript/reference/global_objects/math/log10/index.html +++ b/files/es/web/javascript/reference/global_objects/math/log10/index.html @@ -77,55 +77,7 @@ Math.log10(100000); // 5

Compatibilidad con Navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracteristicaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte Básico{{CompatChrome("38")}}{{CompatGeckoDesktop("25")}}{{CompatNo}}{{CompatOpera("25")}}{{CompatSafari("7.1")}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracteristicaAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte Básico{{CompatNo}}{{CompatNo}}{{CompatGeckoMobile("25")}}{{CompatNo}}{{CompatNo}}8
-
+{{Compat("javascript.builtins.Math.log10")}}

Vea Tambien

diff --git a/files/es/web/javascript/reference/global_objects/math/log10e/index.html b/files/es/web/javascript/reference/global_objects/math/log10e/index.html index 5537164097..362d097fef 100644 --- a/files/es/web/javascript/reference/global_objects/math/log10e/index.html +++ b/files/es/web/javascript/reference/global_objects/math/log10e/index.html @@ -72,55 +72,7 @@ getLog10e(); // 0.4342944819032518 -
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracteristicaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracteristicaAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.LOG10E")}}

Ver tambien

diff --git a/files/es/web/javascript/reference/global_objects/math/max/index.html b/files/es/web/javascript/reference/global_objects/math/max/index.html index 5a97440eab..6ce7777737 100644 --- a/files/es/web/javascript/reference/global_objects/math/max/index.html +++ b/files/es/web/javascript/reference/global_objects/math/max/index.html @@ -89,6 +89,8 @@ var max = Math.max(...arr);

Compatibilidad con navegadores

+{{Compat("javascript.builtins.Math.max")}} +

{{CompatibilityTable}}

diff --git a/files/es/web/javascript/reference/global_objects/math/min/index.html b/files/es/web/javascript/reference/global_objects/math/min/index.html index 45d0da7d4a..9627bd6a52 100644 --- a/files/es/web/javascript/reference/global_objects/math/min/index.html +++ b/files/es/web/javascript/reference/global_objects/math/min/index.html @@ -94,55 +94,7 @@ if (x > limite) {

Compatibilidad con navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidChrome para AndroidFirefox Móvil (Gecko)IE MóvilOpera MóvilSafari Móvil
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.min")}}

Ver además

diff --git a/files/es/web/javascript/reference/global_objects/math/pi/index.html b/files/es/web/javascript/reference/global_objects/math/pi/index.html index e4bdf042d6..74f8c7b7a7 100644 --- a/files/es/web/javascript/reference/global_objects/math/pi/index.html +++ b/files/es/web/javascript/reference/global_objects/math/pi/index.html @@ -70,55 +70,7 @@ calculaCircunferencia(1); // 6.283185307179586 -
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracteristicaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte Basico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracteristicaAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte Basico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.PI")}}

Ver tambien

diff --git a/files/es/web/javascript/reference/global_objects/math/pow/index.html b/files/es/web/javascript/reference/global_objects/math/pow/index.html index a19835458c..4acbba3e57 100644 --- a/files/es/web/javascript/reference/global_objects/math/pow/index.html +++ b/files/es/web/javascript/reference/global_objects/math/pow/index.html @@ -81,55 +81,7 @@ Math.pow(-7, 1/3); // NaN

Compatibilidad con navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidChrome para AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.pow")}}

Ver también

diff --git a/files/es/web/javascript/reference/global_objects/math/random/index.html b/files/es/web/javascript/reference/global_objects/math/random/index.html index 78e82424bf..367f7afcbd 100644 --- a/files/es/web/javascript/reference/global_objects/math/random/index.html +++ b/files/es/web/javascript/reference/global_objects/math/random/index.html @@ -82,52 +82,4 @@ function getRandomInt(min, max) {

Compatibilidad en navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte Básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte Básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.random")}} diff --git a/files/es/web/javascript/reference/global_objects/math/round/index.html b/files/es/web/javascript/reference/global_objects/math/round/index.html index 13458d660e..52e8973e08 100644 --- a/files/es/web/javascript/reference/global_objects/math/round/index.html +++ b/files/es/web/javascript/reference/global_objects/math/round/index.html @@ -160,53 +160,7 @@ Math.ceil10(-59, 1); // -50

Compatibilidad en navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Soporte Básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
Soporte Básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.round")}}

Véase también

diff --git a/files/es/web/javascript/reference/global_objects/math/sign/index.html b/files/es/web/javascript/reference/global_objects/math/sign/index.html index 472f01e6a1..e3990f5e27 100644 --- a/files/es/web/javascript/reference/global_objects/math/sign/index.html +++ b/files/es/web/javascript/reference/global_objects/math/sign/index.html @@ -91,55 +91,7 @@ Math.sign(); // NaN

Compatibilidad con navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
PropiedadChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte básico{{CompatChrome("38")}}{{CompatGeckoDesktop("25")}}{{CompatNo}}{{CompatOpera("25")}}{{CompatSafari("9")}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
PropiedadAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte básico{{CompatNo}}{{CompatNo}}{{CompatGeckoMobile("25")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
+{{Compat("javascript.builtins.Math.sign")}}

Ver También

diff --git a/files/es/web/javascript/reference/global_objects/math/sin/index.html b/files/es/web/javascript/reference/global_objects/math/sin/index.html index 27ec24425f..80c492fb1d 100644 --- a/files/es/web/javascript/reference/global_objects/math/sin/index.html +++ b/files/es/web/javascript/reference/global_objects/math/sin/index.html @@ -65,55 +65,7 @@ Math.sin(Math.PI / 2); // 1

Compatibilidad con navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidChrome para AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.sin")}}

Ver también

diff --git a/files/es/web/javascript/reference/global_objects/math/sqrt/index.html b/files/es/web/javascript/reference/global_objects/math/sqrt/index.html index 3db4ff52e8..410ba30dd1 100644 --- a/files/es/web/javascript/reference/global_objects/math/sqrt/index.html +++ b/files/es/web/javascript/reference/global_objects/math/sqrt/index.html @@ -75,55 +75,7 @@ Math.sqrt(-1); // NaN

Compatibilidad

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.sqrt")}}

Ver también

diff --git a/files/es/web/javascript/reference/global_objects/math/sqrt1_2/index.html b/files/es/web/javascript/reference/global_objects/math/sqrt1_2/index.html index 012fa5d07e..60ab8b3ee4 100644 --- a/files/es/web/javascript/reference/global_objects/math/sqrt1_2/index.html +++ b/files/es/web/javascript/reference/global_objects/math/sqrt1_2/index.html @@ -66,55 +66,7 @@ getRoot1_2(); // 0.7071067811865476 -
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracteristicaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte basico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracteristicaAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte basico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.SQRT1_2")}}

Ver Tambien

diff --git a/files/es/web/javascript/reference/global_objects/math/sqrt2/index.html b/files/es/web/javascript/reference/global_objects/math/sqrt2/index.html index 6ae6cfa70e..fa80150a31 100644 --- a/files/es/web/javascript/reference/global_objects/math/sqrt2/index.html +++ b/files/es/web/javascript/reference/global_objects/math/sqrt2/index.html @@ -65,55 +65,7 @@ getRoot2(); // 1.4142135623730951

Compatibilidad en navegadores

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte Básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte Básico{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("javascript.builtins.Math.SQRT2")}}

 

diff --git a/files/es/web/javascript/reference/global_objects/math/trunc/index.html b/files/es/web/javascript/reference/global_objects/math/trunc/index.html index 4ed64bfc7a..1b60ac33da 100644 --- a/files/es/web/javascript/reference/global_objects/math/trunc/index.html +++ b/files/es/web/javascript/reference/global_objects/math/trunc/index.html @@ -84,55 +84,7 @@ Math.trunc(); // NaN

Compatibilidad con navegadores.

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte básico{{CompatChrome("38")}}{{CompatGeckoDesktop("25")}}{{CompatNo}}{{CompatOpera("25")}}{{CompatSafari("7.1")}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte Básico{{CompatNo}}{{CompatNo}}{{CompatGeckoMobile("25")}}{{CompatNo}}{{CompatNo}}8
-
+{{Compat("javascript.builtins.Math.trunc")}}

Vea también.

-- cgit v1.2.3-54-g00ecf