UNPKG
castelog
Version:
latest (0.0.1)
0.0.1
Programación JavaScript en castellano.
github.com/allnulled/castelog
allnulled/castelog
castelog
/
test
/
scripts_de_sintaxis_compilados
/
400.n.sentencia_de_lanzacion.js
4 lines
•
166 B
JavaScript
View Raw
1
2
3
4
let
x =
1
;
try
{{
throw
"un error"
;}}
catch
(error) { x =
2
;}
if
(!(x ===
2
))
throw
new
Error
(
"Error en [105-137=8:3-10:31] cuando: "
+
"Compruebo que x es igual que 2"
)