diff options
author | Peter Bengtsson <mail@peterbe.com> | 2021-07-07 12:40:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-07 12:40:08 -0400 |
commit | 9697aeab7d1f7b4fd249e5c4cf8dbf3c8e9e0b14 (patch) | |
tree | caed5699c8b6dbf1fe2652a72a73db80d1484f02 /files/es/web/javascript | |
parent | eeabcbf0e107e100c886027610f97045de548b0d (diff) | |
download | translated-content-9697aeab7d1f7b4fd249e5c4cf8dbf3c8e9e0b14.tar.gz translated-content-9697aeab7d1f7b4fd249e5c4cf8dbf3c8e9e0b14.tar.bz2 translated-content-9697aeab7d1f7b4fd249e5c4cf8dbf3c8e9e0b14.zip |
remove wiki.developer.mozilla.org links (es) (#1443)
Part of #1440
Diffstat (limited to 'files/es/web/javascript')
5 files changed, 6 insertions, 6 deletions
diff --git a/files/es/web/javascript/reference/global_objects/isnan/index.html b/files/es/web/javascript/reference/global_objects/isnan/index.html index f47d769967..3cf129e157 100644 --- a/files/es/web/javascript/reference/global_objects/isnan/index.html +++ b/files/es/web/javascript/reference/global_objects/isnan/index.html @@ -5,7 +5,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/isNaN original_slug: Web/JavaScript/Referencia/Objetos_globales/isNaN --- <div>{{jsSidebar("Objects")}} -<p>La función <code><strong>isNaN()</strong></code> determina cuando el valor es {{jsxref("NaN")}} o no. Tenga presente que la coerción dentro de la función <code>isNaN</code> tiene reglas <a href="https://wiki.developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/isNaN$edit#Description">interesantes</a>; tal vez quieras usar de forma alternativa <strong><code><a href="https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/Number/isNaN">Number.isNaN()</a></code></strong>, como fue definido en ECMAScript 2015.</p> +<p>La función <code><strong>isNaN()</strong></code> determina cuando el valor es {{jsxref("NaN")}} o no. Tenga presente que la coerción dentro de la función <code>isNaN</code> tiene reglas <a href="/es/docs/Web/JavaScript/Referencia/Objetos_globales/isNaN$edit#Description">interesantes</a>; tal vez quieras usar de forma alternativa <strong><code><a href="https://developer.mozilla.org/es/docs/Web/JavaScript/Referencia/Objetos_globales/Number/isNaN">Number.isNaN()</a></code></strong>, como fue definido en ECMAScript 2015.</p> <div>{{EmbedInteractiveExample("pages/js/globalprops-isnan.html")}}</div> </div> diff --git a/files/es/web/javascript/reference/global_objects/number/index.html b/files/es/web/javascript/reference/global_objects/number/index.html index 9e14baa221..77afbcf975 100644 --- a/files/es/web/javascript/reference/global_objects/number/index.html +++ b/files/es/web/javascript/reference/global_objects/number/index.html @@ -49,7 +49,7 @@ Number(undefined) // NaN</pre> <h2 id="Constructor">Constructor</h2> <dl> - <dt><a href="https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/Number"><code>Number()</code></a></dt> + <dt><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/Number"><code>Number()</code></a></dt> <dd>Crea un nuevo valor Numérico ( <code>Number</code> value).</dd> </dl> diff --git a/files/es/web/javascript/reference/global_objects/object/fromentries/index.html b/files/es/web/javascript/reference/global_objects/object/fromentries/index.html index f551a54d08..24e9174700 100644 --- a/files/es/web/javascript/reference/global_objects/object/fromentries/index.html +++ b/files/es/web/javascript/reference/global_objects/object/fromentries/index.html @@ -25,7 +25,7 @@ original_slug: Web/JavaScript/Referencia/Objetos_globales/Object/fromEntries <dl> <dt><code><var>iterador</var></code></dt> - <dd>Un iterador como {{jsxref("Array")}}, {{jsxref("Map")}} u otros objetos que implementen el <a href="https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol">protocolo iterable</a>.</dd> + <dd>Un iterador como {{jsxref("Array")}}, {{jsxref("Map")}} u otros objetos que implementen el <a href="/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#The_iterable_protocol">protocolo iterable</a>.</dd> </dl> <h3 id="Valor_de_retorno">Valor de retorno</h3> @@ -60,7 +60,7 @@ console.log(obj); // { 0: "a", 1: "b", 2: "c" } <h3 id="Transformación_de_Objetos">Transformación de Objetos</h3> -<p>Con <code>Object.fromEntries</code>, su método inverso {{jsxref("Object.entries()")}}, y <a href="https://wiki.developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#Methods_2">array métodos de manipulaciín de arreglos</a>, puedes transformar objetos así:</p> +<p>Con <code>Object.fromEntries</code>, su método inverso {{jsxref("Object.entries()")}}, y <a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#Methods_2">array métodos de manipulaciín de arreglos</a>, puedes transformar objetos así:</p> <pre class="brush: js notranslate">const object1 = { a: 1, b: 2, c: 3 }; diff --git a/files/es/web/javascript/reference/global_objects/promise/then/index.html b/files/es/web/javascript/reference/global_objects/promise/then/index.html index 3a250f54b7..4a6976ee2b 100644 --- a/files/es/web/javascript/reference/global_objects/promise/then/index.html +++ b/files/es/web/javascript/reference/global_objects/promise/then/index.html @@ -247,7 +247,7 @@ p3.then(funcion(v) { }); </pre> -<h3 id="window.setImmediate_estilo_polyfill_basado_en_promesas"><a href="https://wiki.developer.mozilla.org/en-US/docs/Web/API/Window/setImmediate" title="This method is used to break up long running operations and run a callback function immediately after the browser has completed other operations such as events and display updates."><code>window.setImmediate</code></a> estilo polyfill basado en promesas</h3> +<h3 id="window.setImmediate_estilo_polyfill_basado_en_promesas"><a href="/en-US/docs/Web/API/Window/setImmediate" title="This method is used to break up long running operations and run a callback function immediately after the browser has completed other operations such as events and display updates."><code>window.setImmediate</code></a> estilo polyfill basado en promesas</h3> <p>Usar un método {{jsxref("Function.prototype.bind()")}}<code>Reflect.apply</code> ({{jsxref("Reflect.apply()")}}) para crear un (non-cancellable) setImmediate-style function.</p> diff --git a/files/es/web/javascript/reference/statements/for...of/index.html b/files/es/web/javascript/reference/statements/for...of/index.html index f475243c91..b89cf6fa23 100644 --- a/files/es/web/javascript/reference/statements/for...of/index.html +++ b/files/es/web/javascript/reference/statements/for...of/index.html @@ -12,7 +12,7 @@ original_slug: Web/JavaScript/Referencia/Sentencias/for...of <div> <div>{{jsSidebar("Statements")}}</div> -<p><span style="font-size: 1rem; letter-spacing: -0.00278rem;">La sentencia </span><strong style="font-size: 1rem; letter-spacing: -0.00278rem;">sentencia <code>for...of</code></strong><span style="font-size: 1rem; letter-spacing: -0.00278rem;"> ejecuta un bloque de código para cada elemento de un </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/iterable" style="font-size: 1rem; letter-spacing: -0.00278rem;">objeto iterable</a>,<span style="font-size: 1rem; letter-spacing: -0.00278rem;"> como lo son: {{jsxref("String")}}, {{jsxref("Array")}}, objetos similares a array (por ejemplo, {{jsxref("Functions/arguments", "arguments")}} or </span><a href="https://wiki.developer.mozilla.org/en-US/docs/Web/API/NodeList" style="font-size: 1rem; letter-spacing: -0.00278rem;" title="NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll()."><code>NodeList</code></a><span style="font-size: 1rem; letter-spacing: -0.00278rem;">), {{jsxref("TypedArray")}}, {{jsxref("Map")}}, {{jsxref("Set")}} e iterables definidos por el usuario.</span></p> +<p><span style="font-size: 1rem; letter-spacing: -0.00278rem;">La sentencia </span><strong style="font-size: 1rem; letter-spacing: -0.00278rem;">sentencia <code>for...of</code></strong><span style="font-size: 1rem; letter-spacing: -0.00278rem;"> ejecuta un bloque de código para cada elemento de un </span><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/iterable" style="font-size: 1rem; letter-spacing: -0.00278rem;">objeto iterable</a>,<span style="font-size: 1rem; letter-spacing: -0.00278rem;"> como lo son: {{jsxref("String")}}, {{jsxref("Array")}}, objetos similares a array (por ejemplo, {{jsxref("Functions/arguments", "arguments")}} or </span><a href="/en-US/docs/Web/API/NodeList" style="font-size: 1rem; letter-spacing: -0.00278rem;" title="NodeList objects are collections of nodes, usually returned by properties such as Node.childNodes and methods such as document.querySelectorAll()."><code>NodeList</code></a><span style="font-size: 1rem; letter-spacing: -0.00278rem;">), {{jsxref("TypedArray")}}, {{jsxref("Map")}}, {{jsxref("Set")}} e iterables definidos por el usuario.</span></p> </div> <h2 id="Sintaxis">Sintaxis</h2> |