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
/
300.bloque_unilinea.js
8 lines
(7 loc)
•
109 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
const
valor =
1
;
if
(valor ===
0
) { console.
log
(
"Es cero"
); }
else
if
(valor ===
1
) { console.
log
(
"Es uno"
); }