diff options
author | YujiSoftware <yuji.software+github@gmail.com> | 2022-03-03 22:36:23 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-03 07:36:23 -0600 |
commit | 0ce7202a706c9036eeea42c158f433c2b7940457 (patch) | |
tree | 4e952b5472e3140bd12ac07e77df3aa47e79b60f /files/es/web/javascript/reference/global_objects/regexp/test | |
parent | 581e6fb5827a5450e295c91250dd0563a3c9251a (diff) | |
download | translated-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/regexp/test')
-rw-r--r-- | files/es/web/javascript/reference/global_objects/regexp/test/index.html | 54 |
1 files changed, 1 insertions, 53 deletions
diff --git a/files/es/web/javascript/reference/global_objects/regexp/test/index.html b/files/es/web/javascript/reference/global_objects/regexp/test/index.html index 712b914236..388e20dd8e 100644 --- a/files/es/web/javascript/reference/global_objects/regexp/test/index.html +++ b/files/es/web/javascript/reference/global_objects/regexp/test/index.html @@ -91,59 +91,7 @@ console.log(result); // true <h2 id="Compatibilidad_en_Navegadores">Compatibilidad en Navegadores</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> - -<h3 id="Notas_específicas_para_Gecko">Notas específicas para Gecko</h3> - -<p>Antes de Gecko 8.0 {{geckoRelease("8.0")}}, <code>test()</code> estaba incorrectamente implementado; cuando era llamado sin parámetros, buscaba emparejar contra el valor de la entrada anterior (la propiedad <code>RegExp.input</code>) en lugar de hacerlo contra la cadena <code>"undefined"</code>. Esto ha sido corregido; ahora <code>/undefined/.test()</code> resulta correctamente en <code>true</code>, en lugar de un error.</p> +{{Compat("javascript.builtins.RegExp.test")}} <h2 id="Vea_también">Vea también</h2> |