aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/javascript
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-07-15 12:59:34 -0400
committerGitHub <noreply@github.com>2021-07-15 12:59:34 -0400
commit3601b7bb982e958927e069715cfe07430bce7196 (patch)
treed305ecdbf80ce8126386a0d7886f70d915277c7c /files/es/web/javascript
parent9ace67d06f2369e3c770e3a11e06e1c8cc9f66fd (diff)
downloadtranslated-content-3601b7bb982e958927e069715cfe07430bce7196.tar.gz
translated-content-3601b7bb982e958927e069715cfe07430bce7196.tar.bz2
translated-content-3601b7bb982e958927e069715cfe07430bce7196.zip
delete pages that were never translated from en-US (es, part 1) (#1547)
Diffstat (limited to 'files/es/web/javascript')
-rw-r--r--files/es/web/javascript/reference/deprecated_and_obsolete_features/the_legacy_iterator_protocol/index.html74
-rw-r--r--files/es/web/javascript/reference/errors/precision_range/index.html96
-rw-r--r--files/es/web/javascript/reference/global_objects/date/getutchours/index.html118
-rw-r--r--files/es/web/javascript/reference/global_objects/math/fround/index.html198
-rw-r--r--files/es/web/javascript/reference/global_objects/object/__lookupgetter__/index.html85
5 files changed, 0 insertions, 571 deletions
diff --git a/files/es/web/javascript/reference/deprecated_and_obsolete_features/the_legacy_iterator_protocol/index.html b/files/es/web/javascript/reference/deprecated_and_obsolete_features/the_legacy_iterator_protocol/index.html
deleted file mode 100644
index 007decfe89..0000000000
--- a/files/es/web/javascript/reference/deprecated_and_obsolete_features/the_legacy_iterator_protocol/index.html
+++ /dev/null
@@ -1,74 +0,0 @@
----
-title: The legacy Iterator protocol
-slug: >-
- Web/JavaScript/Reference/Deprecated_and_obsolete_features/The_legacy_Iterator_protocol
-translation_of: >-
- Web/JavaScript/Reference/Deprecated_and_obsolete_features/The_legacy_Iterator_protocol
-original_slug: >-
- Web/JavaScript/Referencia/Características_Desaprobadas/The_legacy_Iterator_protocol
----
-<div>{{jsSidebar("More")}}</div>
-
-<div class="warning"><strong>Non-standard.</strong> The legacy iterator protocol is a SpiderMonkey-specific feature, and will be removed at some point. For future-facing usages, consider using <a href="/en-US/docs/Web/JavaScript/Reference/Statements/for...of" title="/en-US/docs/Web/JavaScript/Reference/Statements/for...of">for..of</a> loops and the <a href="/en-US/docs/Web/JavaScript/Guide/The_Iterator_protocol">iterator protocol</a>.</div>
-
-<h2 id="The_deprecated_Firefox-only_iterator_protocol">The deprecated Firefox-only iterator protocol</h2>
-
-<p>Firefox, prior to version 26 implemented another iterator protocol that is similar to the standard <a href="/en-US/docs/Web/JavaScript/Guide/The_Iterator_protocol">ES6 Iterator protocol</a>.</p>
-
-<p>An object is an legacy iterator when it implements a <code>next()</code> method with the following semantics, and throws {{jsxref("Global_Objects/StopIteration", "StopIteration")}} at the end of iteration.</p>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Property</th>
- <th scope="col">Value</th>
- </tr>
- <tr>
- <td><code>next</code></td>
- <td>A zero arguments function that returns an value.</td>
- </tr>
- </tbody>
-</table>
-
-<h3 id="Difference_between_legacy_and_ES6_iterator_protocols">Difference between legacy and ES6 iterator protocols</h3>
-
-<ul>
- <li>The value was returned directly as a return value of calls to <code>next</code>, instead of the <code>value</code> property of a placeholder object</li>
- <li>Iteration termination was expressed by throwing a {{jsxref("Global_Objects/StopIteration", "StopIteration")}} object.</li>
-</ul>
-
-<h3 id="Simple_example_with_the_old_protocol">Simple example with the old protocol</h3>
-
-<pre class="brush: js">function makeIterator(array){
- var nextIndex = 0;
-
- return {
- next: function(){
- if(nextIndex &lt; array.length){
- return array[nextIndex++];
- else
- throw new StopIteration();
- }
- }
-}
-
-var it = makeIterator(['yo', 'ya']);
-
-console.log(it.next()); // 'yo'
-console.log(it.next()); // 'ya'
-try{
- console.log(it.next());
-}
-catch(e){
- if(e instanceof StopIteration){
- // iteration over
- }
-}
-</pre>
-
-<h2 id="Mira_también">Mira también</h2>
-
-<ul>
- <li><a href="/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators">Iteradores y generadores</a></li>
- <li>Más More <a href="/en-US/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features">características obsoletas</a></li>
-</ul>
diff --git a/files/es/web/javascript/reference/errors/precision_range/index.html b/files/es/web/javascript/reference/errors/precision_range/index.html
deleted file mode 100644
index 22c37598ff..0000000000
--- a/files/es/web/javascript/reference/errors/precision_range/index.html
+++ /dev/null
@@ -1,96 +0,0 @@
----
-title: 'RangeError: precision is out of range'
-slug: Web/JavaScript/Reference/Errors/Precision_range
-translation_of: Web/JavaScript/Reference/Errors/Precision_range
----
-<div>{{jsSidebar("Errors")}}</div>
-
-<p>The JavaScript exception "precision is out of range" occurs when a number that's outside of the range of 0 and 20 (or 21) was passed into <code>toFixed</code> or <code>toPrecision</code>.</p>
-
-<h2 id="Message">Message</h2>
-
-<pre class="syntaxbox notranslate">RangeError: The number of fractional digits is out of range (Edge)
-RangeError: The precision is out of range (Edge)
-RangeError: precision {0} out of range (Firefox)
-RangeError: toExponential() argument must be between 0 and 20 (Chrome)
-RangeError: toFixed() digits argument must be between 0 and 20 (Chrome)
-RangeError: toPrecision() argument must be between 1 and 21 (Chrome)
-</pre>
-
-<h2 id="Error_type">Error type</h2>
-
-<p>{{jsxref("RangeError")}}</p>
-
-<h2 id="Que_salió_mal">Que salió mal?</h2>
-
-<p>Fué un argumento preciso fuera de rango en uno de estos metodos:</p>
-
-<ul>
- <li>{{jsxref("Number.prototype.toExponential()")}}</li>
- <li>{{jsxref("Number.prototype.toFixed()")}}</li>
- <li>{{jsxref("Number.prototype.toPrecision()")}}</li>
-</ul>
-
-<p>El rango permitido para estos metodos usualmente esta entre 0 o 20 (o 21). De todas formas la <span><span>especificación</span></span>  ECMAScript permite extender este rango.</p>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Method</th>
- <th scope="col">Firefox (SpiderMonkey)</th>
- <th scope="col">Chrome, Opera (V8)</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{jsxref("Number.prototype.toExponential()")}}</td>
- <td>0 to 100</td>
- <td>0 to 20</td>
- </tr>
- <tr>
- <td>{{jsxref("Number.prototype.toFixed()")}}</td>
- <td>-20 to 100</td>
- <td>0 to 20</td>
- </tr>
- <tr>
- <td>{{jsxref("Number.prototype.toPrecision()")}}</td>
- <td>1 to 100</td>
- <td>1 to 21</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Examples">Examples</h2>
-
-<h3 id="Casos_no_validos">Casos no validos</h3>
-
-<pre class="brush: js example-bad notranslate">77.1234.toExponential(-1); // RangeError
-77.1234.toExponential(101); // RangeError
-
-2.34.toFixed(-100); // RangeError
-2.34.toFixed(1001); // RangeError
-
-1234.5.toPrecision(-1); // RangeError
-1234.5.toPrecision(101); // RangeError
-</pre>
-
-<h3 id="Casos_validos">Casos validos</h3>
-
-<pre class="brush: js example-good notranslate">77.1234.toExponential(4); // 7.7123e+1
-77.1234.toExponential(2); // 7.71e+1
-
-2.34.toFixed(1); // 2.3
-2.35.toFixed(1); // 2.4 (note that it rounds up in this case)
-
-5.123456.toPrecision(5); // 5.1235
-5.123456.toPrecision(2); // 5.1
-5.123456.toPrecision(1); // 5
-</pre>
-
-<h2 id="También_te_puede_interesar">También te puede interesar:</h2>
-
-<ul>
- <li>{{jsxref("Number.prototype.toExponential()")}}</li>
- <li>{{jsxref("Number.prototype.toFixed()")}}</li>
- <li>{{jsxref("Number.prototype.toPrecision()")}}</li>
-</ul>
diff --git a/files/es/web/javascript/reference/global_objects/date/getutchours/index.html b/files/es/web/javascript/reference/global_objects/date/getutchours/index.html
deleted file mode 100644
index 525a0a2730..0000000000
--- a/files/es/web/javascript/reference/global_objects/date/getutchours/index.html
+++ /dev/null
@@ -1,118 +0,0 @@
----
-title: Date.prototype.getUTCHours()
-slug: Web/JavaScript/Reference/Global_Objects/Date/getUTCHours
-translation_of: Web/JavaScript/Reference/Global_Objects/Date/getUTCHours
-original_slug: Web/JavaScript/Referencia/Objetos_globales/Date/getUTCHours
----
-<div>{{JSRef}}</div>
-
-<p>El método <strong><code>getUTCHours()</code></strong> retorna las horas especificadas en la fecha deacuerdo al horario universal.</p>
-
-<h2 id="Syntax">Syntax</h2>
-
-<pre class="syntaxbox"><code><var>dateObj</var>.getUTCHours()</code></pre>
-
-<h3 id="Return_value">Return value</h3>
-
-<p>An integer number, between 0 and 23, representing the hours in the given date according to universal time.</p>
-
-<h2 id="Examples">Examples</h2>
-
-<h3 id="Using_getUTCHours()">Using <code>getUTCHours()</code></h3>
-
-<p>The following example assigns the hours portion of the current time to the variable <code>hours</code>.</p>
-
-<pre class="brush: js">var today = new Date();
-var hours = today.getUTCHours();
-</pre>
-
-<h2 id="Specifications">Specifications</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- <tr>
- <td>{{SpecName('ES1')}}</td>
- <td>{{Spec2('ES1')}}</td>
- <td>Initial definition. Implemented in JavaScript 1.3.</td>
- </tr>
- <tr>
- <td>{{SpecName('ES5.1', '#sec-15.9.5.19', 'Date.prototype.getUTCHours')}}</td>
- <td>{{Spec2('ES5.1')}}</td>
- <td> </td>
- </tr>
- <tr>
- <td>{{SpecName('ES6', '#sec-date.prototype.getutchours', 'Date.prototype.getUTCHours')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td> </td>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-date.prototype.getutchours', 'Date.prototype.getUTCHours')}}</td>
- <td>{{Spec2('ESDraft')}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li>{{jsxref("Date.prototype.getHours()")}}</li>
- <li>{{jsxref("Date.prototype.setUTCHours()")}}</li>
-</ul>
diff --git a/files/es/web/javascript/reference/global_objects/math/fround/index.html b/files/es/web/javascript/reference/global_objects/math/fround/index.html
deleted file mode 100644
index ff06c8c12c..0000000000
--- a/files/es/web/javascript/reference/global_objects/math/fround/index.html
+++ /dev/null
@@ -1,198 +0,0 @@
----
-title: Math.fround()
-slug: Web/JavaScript/Reference/Global_Objects/Math/fround
-tags:
- - JavaScript
- - Math
- - Referencia
- - metodo
-translation_of: Web/JavaScript/Reference/Global_Objects/Math/fround
-original_slug: Web/JavaScript/Referencia/Objetos_globales/Math/fround
----
-<div>{{JSRef}}</div>
-
-<p class="seoSummary">The <strong><code>Math.fround()</code></strong> function returns the nearest <a class="external" href="https://en.wikipedia.org/wiki/Single-precision_floating-point_format" title="link to the wikipedia page on single-precision floating-point format">32-bit single precision</a> float representation of a {{jsxref("Number")}}.</p>
-
-<div>{{EmbedInteractiveExample("pages/js/math-fround.html")}}</div>
-
-
-
-<h2 id="Syntax">Syntax</h2>
-
-<pre class="syntaxbox">var <em>singleFloat</em> = Math.fround(<em>doubleFloat</em>);</pre>
-
-<h3 id="Parameters">Parameters</h3>
-
-<dl>
- <dt><code>doubleFloat</code></dt>
- <dd>A {{jsxref("Number")}}. If the parameter is of a different type, it will get converted to a number or to {{jsxref("NaN")}} if it cannot be converted.</dd>
-</dl>
-
-<h3 id="Return_value">Return value</h3>
-
-<p>The nearest <a class="external" href="https://en.wikipedia.org/wiki/Single-precision_floating-point_format" title="link to the wikipedia page on single-precision floating-point format">32-bit single precision</a> float representation of the given number.</p>
-
-<h2 id="Description">Description</h2>
-
-<p>JavaScript uses 64-bit double floating-point numbers internally, which offer a very high precision. However, sometimes you may be working with 32-bit floating-point numbers, for example if you are reading values from a {{jsxref("Float32Array")}}. This can create confusion: Checking a 64-bit float and a 32-bit float for equality may fail even though the numbers are seemingly identical.</p>
-
-<p>To solve this, <code>Math.fround()</code> can be used to cast the 64-bit float to a 32-bit float. Internally, JavaScript continues to treat the number as a 64-bit float, it just performs a "round to even" on the 23rd bit of the mantissa, and sets all following mantissa bits to <code>0</code>. If the number is outside the range of a 32-bit float, <code>{{jsxref("Infinity")}}</code> or <code>-Infinity</code> is returned.</p>
-
-<p>Because <code>fround()</code> is a static method of <code>Math</code>, you always use it as <code>Math.fround()</code>, rather than as a method of a <code>Math</code> object you created (<code>Math</code> is not a constructor).</p>
-
-<h2 id="Examples">Examples</h2>
-
-<h3 id="Using_Math.fround()">Using <code>Math.fround()</code></h3>
-
-<p>The number 1.5 can be precisely represented in the binary numeral system, and is identical in 32-bit and 64-bit:</p>
-
-<pre class="brush: js">Math.fround(1.5); // 1.5
-Math.fround(1.5) === 1.5; // true
-</pre>
-
-<p>However, the number 1.337 cannot be precisely represented in the binary numeral system, so it differs in 32-bit and 64-bit:</p>
-
-<pre class="brush: js">Math.fround(1.337); // 1.3370000123977661
-Math.fround(1.337) === 1.337; // false
-</pre>
-
-<p><math><semantics><msup><mn>2</mn><mn>150</mn></msup><annotation encoding="TeX">2^150</annotation></semantics></math> is too big for a 32-bit float, so <code>Infinity</code> is returned:</p>
-
-<pre class="brush: js">2 ** 150; // 1.42724769270596e+45
-Math.fround(2 ** 150); // Infinity
-</pre>
-
-<p>If the parameter cannot be converted to a number, or it is <a href="https://en.wikipedia.org/wiki/NaN" title="NaN on Wikipedia">not-a-number</a> (<code>NaN</code>), <code>Math.fround()</code> will return <code>NaN</code>:</p>
-
-<pre class="brush: js">Math.fround('abc'); // NaN
-Math.fround(NaN); // NaN
-</pre>
-
-<h2 id="Polyfill">Polyfill</h2>
-
-<p>This can be emulated with the following function, if {{jsxref("Float32Array")}} are supported:</p>
-
-<pre class="brush: js">Math.fround = Math.fround || (function (array) {
- return function(x) {
- return array[0] = x, array[0];
- };
-})(new Float32Array(1));
-</pre>
-
-<p>Supporting older browsers is slower, but also possible:</p>
-
-<pre class="brush: js">if (!Math.fround) Math.fround = function(arg) {
- arg = Number(arg);
- // Return early for ±0 and NaN.
- if (!arg) return arg;
- var sign = arg &lt; 0 ? -1 : 1;
- if (sign &lt; 0) arg = -arg;
- // Compute the exponent (8 bits, signed).
- var exp = Math.floor(Math.log(arg) / Math.LN2);
- var powexp = Math.pow(2, Math.max(-126, Math.min(exp, 127)));
- // Handle subnormals: leading digit is zero if exponent bits are all zero.
- var leading = exp &lt; -127 ? 0 : 1;
- // Compute 23 bits of mantissa, inverted to round toward zero.
- var mantissa = Math.round((leading - arg / powexp) * 0x800000);
- if (mantissa &lt;= -0x800000) return sign * Infinity;
- return sign * powexp * (leading - mantissa / 0x800000);
-};</pre>
-
-<h2 id="Faster_Alternative_Polyfill_(Work_In_Progress)">Faster Alternative Polyfill (Work In Progress)</h2>
-
-<p>The below polyfill is much faster and uses double-precision rounding errors to emulate the rounding errors caused by floating point narrowing. Although the polyfill higher on the page is good for comprehension, all of the complex Math function that it uses make it terrible slow. Although this polyfill is much faster, it is off by a bit in about 1 out of 2048 of the tests due to the tendency to round upwards like <code>Math.ceil</code> instead of like <code>Math.round</code> in the division of the subnormal-handling section of the code. Because single precision floating points have 23 bits of precision, the mean error deviation from the correct value is roughly <code>2**-28</code> or 0.0000000058%. This deviation from the correct value should be insignifigant in most circumstances, however please edit this polyfill if you have some tweaks to increase correctness without bloating the code size too much. NaN is not optimized for because it is most likely (almost certain) that you will not be calling <code>Math.fround</code> with NaN exclusively in a tight loop. Moreover, an additional check just for NaN instead of letting NaN naturally arise would induce a performance penalty for this function in older browsers when not called with NaN. Thus, the code below handles NaN correctly, but inefficiently for good reason.</p>
-
-<pre class="brush: js">const Math_round = Math.round;
-if (!Math.fround) Math.fround = function(x) {
- if (x &gt; 3.402823669209385e+38) return Infinity; // maximum float is 2**128
- if (x &lt; -3.402823669209385e+38) return -Infinity; // minimum is -2**128
- if (-1.1754943508222875e-38 &lt; x &amp;&amp; x &lt; 1.1754943508222875e-38) {
- if (-1.401298464324817e-45 &lt; x &amp;&amp; x &lt; 1.401298464324817e-45) return 0;
- // else, it is a subnormal
- var mul = Math_round(x/1.4012984643e-45)*1e-323;
- return mul * 1.418129833677085e+278;
- }
-
- var hi = x * 9007199254740992; // 9007199254740992 is 2**53 which is the maximum of double precision
- var exp = (x + hi) - hi; // adding this number chops off all lower bits, rounding the number.
-    exp /= 16777216; // 8388608 = 2**23 * 2, so preserve 23 bits in x because there are 23 bits in a float
-                     //            The "* 2" compensates for the addition shifting up the bits unwantedly
- return Math_round(x / exp) * exp;
-}
-</pre>
-
-<p>Below is code used to test for deviations from the correct value. The code below is meant for testing the merit of the function, not for polyfilling older browsers (as evidenced by the fact that the native Math.fround function is used).</p>
-
-<pre class="brush: js">requestIdleCallback(function(){"use strict";
- const Math_fround = Math.fround;
- const Math_round = Math.round;
- function my_fround(x) {
- if (x &gt; 3.402823669209385e+38) return Infinity; // maximum float is 2**128
- if (x &lt; -3.402823669209385e+38) return -Infinity; // minimum is -2**128
- if (-1.1754943508222875e-38 &lt; x &amp;&amp; x &lt; 1.1754943508222875e-38) {
- if (-1.401298464324817e-45 &lt; x &amp;&amp; x &lt; 1.401298464324817e-45) return 0;
- // else, it is a subnormal
- var mul = Math_round(x/1.4012984643e-45)*1e-323;
- return mul * 1.418129833677085e+278;
- }
-
- var hi = x * 9007199254740992; // 9007199254740992 is 2**53 which is the maximum of double precision
- var exp = (x + hi) - hi; // adding this number chops off all lower bits, rounding the number.
- exp /= 16777216; // 8388608 = 2**23 * 2, so preserve 23 bits in x because there are 23 bits in a float
-  // The "* 2" compensates for the addition shifting up the bits unwantedly
- return Math_round(x / exp) * exp;
- }
-
- const doublesArray = new Float64Array(8192);
- const int32s = new Uint32Array(doublesArray.buffer);
-
- const crypto = window.crypto;
-
- var hasWarned = false, warnings=0;
- for (var i=0; i&lt;4; i=i+1|0) {
- crypto.getRandomValues(int32s);
- for (var k=0; k&lt;8192; k=k+1|0) {
-            const myValue = my_fround(doublesArray[k]);
-            const froundVal = Math_fround(doublesArray[k]);
- // quicker version of Object.is because of no function call overhead:
-            if (myValue === myValue ? myValue !== froundVal : froundVal === froundVal) {
- if (!hasWarned) console.error(doublesArray[k]); // only show the first incorrect number
- hasWarned = true;
- warnings = warnings + 1|0;
- }
- }
- }
- console[warnings &gt; 0 ? "warn" : "log"]( "Total number of mishandled floats: " + warnings );
-});</pre>
-
-<h2 id="Specifications">Specifications</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- <tr>
- <td>{{SpecName('ES6', '#sec-math.fround', 'Math.fround')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td>Initial definition.</td>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-math.fround', 'Math.fround')}}</td>
- <td>{{Spec2('ESDraft')}}</td>
- <td></td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-<p>{{Compat("javascript.builtins.Math.fround")}}</p>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li>{{jsxref("Math.round()")}}</li>
-</ul>
diff --git a/files/es/web/javascript/reference/global_objects/object/__lookupgetter__/index.html b/files/es/web/javascript/reference/global_objects/object/__lookupgetter__/index.html
deleted file mode 100644
index d99273a3fe..0000000000
--- a/files/es/web/javascript/reference/global_objects/object/__lookupgetter__/index.html
+++ /dev/null
@@ -1,85 +0,0 @@
----
-title: Object.prototype.__lookupGetter__()
-slug: Web/JavaScript/Reference/Global_Objects/Object/__lookupGetter__
-translation_of: Web/JavaScript/Reference/Global_Objects/Object/__lookupGetter__
-original_slug: Web/JavaScript/Referencia/Objetos_globales/Object/__lookupGetter__
----
-<div>{{JSRef}} {{deprecated_header}}</div>
-
-<p>Los <code><strong>__lookupGetter__</strong></code> metodos retornan la funcion  enlazada como un getter para especificar la propiedad.</p>
-
-<h2 id="Syntax">Syntax</h2>
-
-<pre class="syntaxbox"><code><var>obj</var>.__lookupGetter__(<var>sprop</var>)</code></pre>
-
-<h3 id="Parameters">Parameters</h3>
-
-<dl>
- <dt><code>sprop</code></dt>
- <dd>A string containing the name of the property whose getter should be returned.</dd>
-</dl>
-
-<h3 id="Return_value">Return value</h3>
-
-<p>The function bound as a getter to the specified property.</p>
-
-<h2 id="Description">Description</h2>
-
-<p>If a getter has been defined for an object's property, it's not possible to reference the getter function through that property, because that property refers to the return value of that function. <code>__lookupGetter__</code> can be used to obtain a reference to the getter function.</p>
-
-<p>It is now possible to do this in a standardized way using {{jsxref("Object.getOwnPropertyDescriptor()")}} and {{jsxref("Object.getPrototypeOf()")}}.</p>
-
-<h2 id="Examples">Examples</h2>
-
-<pre class="brush: js">var obj = {
- get foo() {
- return Math.random() &gt; 0.5 ? 'foo' : 'bar';
- }
-};
-
-
-// Non-standard and deprecated way
-obj.__lookupGetter__('foo');
-// (function() { return Math.random() &gt; 0.5 ? 'foo' : 'bar'; })
-
-
-// Standard-compliant way
-Object.getOwnPropertyDescriptor(obj, "foo").get;
-// (function() { return Math.random() &gt; 0.5 ? 'foo' : 'bar'; })
-</pre>
-
-<h2 id="Specifications">Specifications</h2>
-
-<table class="spectable standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-object.prototype.__lookupGetter__', 'Object.prototype.__lookupGetter__()')}}</td>
- <td>{{Spec2('ESDraft')}}</td>
- <td>Included in the (normative) annex for additional ECMAScript legacy features for Web browsers (note that the specification codifies what is already in implementations).</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-<div>
-
-
-<p>{{Compat("javascript.builtins.Object.lookupGetter")}}</p>
-</div>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li>{{jsxref("Object.prototype.__lookupSetter__()")}}</li>
- <li>{{jsxref("Functions/get", "get")}} operator</li>
- <li>{{jsxref("Object.getOwnPropertyDescriptor()")}} and {{jsxref("Object.getPrototypeOf()")}}</li>
- <li>{{jsxref("Object.prototype.__defineGetter__()")}}</li>
- <li>{{jsxref("Object.prototype.__defineSetter__()")}}</li>
- <li><a href="/en-US/docs/Web/JavaScript/Guide/Working_with_Objects#Defining_getters_and_setters">JS Guide: Defining Getters and Setters</a></li>
-</ul>