aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/javascript/reference/global_objects/object/getownpropertynames
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-03 22:36:23 +0900
committerGitHub <noreply@github.com>2022-03-03 07:36:23 -0600
commit0ce7202a706c9036eeea42c158f433c2b7940457 (patch)
tree4e952b5472e3140bd12ac07e77df3aa47e79b60f /files/es/web/javascript/reference/global_objects/object/getownpropertynames
parent581e6fb5827a5450e295c91250dd0563a3c9251a (diff)
downloadtranslated-content-0ce7202a706c9036eeea42c158f433c2b7940457.tar.gz
translated-content-0ce7202a706c9036eeea42c158f433c2b7940457.tar.bz2
translated-content-0ce7202a706c9036eeea42c158f433c2b7940457.zip
Migrate CompatibilityTable to Compat macro (es) (#4355)
* Migrate CompatibilityTable to Compat macro (es) * Migrate to multiple Compat macro (es)
Diffstat (limited to 'files/es/web/javascript/reference/global_objects/object/getownpropertynames')
-rw-r--r--files/es/web/javascript/reference/global_objects/object/getownpropertynames/index.html52
1 files changed, 2 insertions, 50 deletions
diff --git a/files/es/web/javascript/reference/global_objects/object/getownpropertynames/index.html b/files/es/web/javascript/reference/global_objects/object/getownpropertynames/index.html
index 6844d4df35..201ff5c40b 100644
--- a/files/es/web/javascript/reference/global_objects/object/getownpropertynames/index.html
+++ b/files/es/web/javascript/reference/global_objects/object/getownpropertynames/index.html
@@ -103,56 +103,8 @@ console.log(nonenum_only);
</table>
<h2 id="Compatibilidad_con_Navegadores"> Compatibilidad con Navegadores</h2>
<div>
- {{CompatibilityTable}}</div>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4 (2.0)</td>
- <td>5</td>
- <td>9</td>
- <td>12</td>
- <td>5</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<p>Based on <a href="http://kangax.github.com/es5-compat-table/">Kangax's compat table</a>.</p>
-<h3 id="SpiderMonkey-specific_notes">SpiderMonkey-specific notes</h3>
-<ul>
- <li>Prior to SpiderMonkey 28 {{geckoRelease("28")}}, <code>Object.getOwnPropertyNames</code> did not see unresolved properties of {{jsxref("Error")}} objects. This has been fixed in later versions ({{bug("724768")}}).</li>
-</ul>
+{{Compat("javascript.builtins.Object.getOwnPropertyNames")}}
+
<h2 id="See_also" name="See_also">Ver también</h2>
<ul>
<li><a href="/en-US/docs/Enumerability_and_ownership_of_properties" title="Enumerability_and_ownership_of_properties">Enumerability and ownership of properties</a></li>