From 0ce7202a706c9036eeea42c158f433c2b7940457 Mon Sep 17 00:00:00 2001 From: YujiSoftware Date: Thu, 3 Mar 2022 22:36:23 +0900 Subject: Migrate CompatibilityTable to Compat macro (es) (#4355) * Migrate CompatibilityTable to Compat macro (es) * Migrate to multiple Compat macro (es) --- .../reference/global_objects/json/parse/index.html | 61 +--------------------- 1 file changed, 1 insertion(+), 60 deletions(-) (limited to 'files/es/web/javascript/reference/global_objects/json/parse') diff --git a/files/es/web/javascript/reference/global_objects/json/parse/index.html b/files/es/web/javascript/reference/global_objects/json/parse/index.html index 885812b288..dbe630bb12 100644 --- a/files/es/web/javascript/reference/global_objects/json/parse/index.html +++ b/files/es/web/javascript/reference/global_objects/json/parse/index.html @@ -111,66 +111,7 @@ JSON.parseCompatibilidad de navegadores -

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
CaracterísticaChromeFirefox (Gecko)Internet ExplorerOperaSafari
Soporte básico{{ CompatVersionUnknown() }}{{ CompatGeckoDesktop("1.9.1") }}8.010.54.0
-
- -
- - - - - - - - - - - - - - - - - - - - - -
CaracterísticaAndroidChrome para AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Soporte básico{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatGeckoMobile("1.0") }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
-
- -

Based on Kangax's compat table.

- -

Especificaciones Gecko

- -

Comenzando con Gecko 29 {{geckoRelease("29")}}, unas cadenas JSON malformadas producen un mensaje de error más detallado que contiene el número de línea y columna que provocó el error de parsing. Esto es útil cuando se está haciendo debug de un JSON grande.

- -
JSON.parse('[1, 2, 3,]')
-// SyntaxError: JSON.parse: unexpected character at
-// line 1 column 10 of the JSON data
-
+{{Compat("javascript.builtins.JSON.parse")}}

Véase también

-- cgit v1.2.3-54-g00ecf