From 1095b8581ac35e677e12fdd4b0bb18fa407c4280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Tue, 10 May 2022 22:22:13 +0200 Subject: [PATCH] Add LMSGI/preguntas-examen-t8y9 --- 1/LMSGI/preguntas-examen-t8y9.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 1/LMSGI/preguntas-examen-t8y9.txt diff --git a/1/LMSGI/preguntas-examen-t8y9.txt b/1/LMSGI/preguntas-examen-t8y9.txt new file mode 100644 index 0000000..1a46e1b --- /dev/null +++ b/1/LMSGI/preguntas-examen-t8y9.txt @@ -0,0 +1,17 @@ +Al final del código siguiente, ¿cuál será su resultado? + +a = 6; +b = a++; + +a) a = 7; b = 7 +B) a = 7; b = 6 +c) a = 6; b = 7 +d) Error, ya que '++' no es una operación válida + + +¿Cómo se define una función en JavaScript? + +a) func f(arg1, arg2, ...) { ... } +b) func f[arg1, arg2, ...] { ... } +C) function f(arg1, arg2, ...) { ... } +d) function f(arg1, arg2, ...) [ ... ]