aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/javascript/reference/functions/method_definitions
diff options
context:
space:
mode:
Diffstat (limited to 'files/es/web/javascript/reference/functions/method_definitions')
-rw-r--r--files/es/web/javascript/reference/functions/method_definitions/index.html67
1 files changed, 1 insertions, 66 deletions
diff --git a/files/es/web/javascript/reference/functions/method_definitions/index.html b/files/es/web/javascript/reference/functions/method_definitions/index.html
index d8c4e43051..8847baca71 100644
--- a/files/es/web/javascript/reference/functions/method_definitions/index.html
+++ b/files/es/web/javascript/reference/functions/method_definitions/index.html
@@ -141,72 +141,7 @@ console.log(bar.foo2()); // 2</pre>
<h2 id="Compatibilidad_con_navegadores">Compatibilidad con navegadores</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Prestación</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Definición de métodos abreviada</td>
- <td>{{CompatChrome("39")}}</td>
- <td>{{CompatGeckoDesktop("34")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera("26")}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Métodos generadors no son constructores (ES2016)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("43")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Prestación</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>Definición de métodos abreviada</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("34")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Métodos generadores no son constructores (ES2016)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("43")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("javascript.functions.method_definitions")}}
<h2 id="Notas_específicas_para_SpiderMonkey">Notas específicas para SpiderMonkey</h2>