This commit is contained in:
Nicolás A. Ortega Froysa 2022-05-11 18:31:38 +02:00
commit 9ee24f7196

View File

@ -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, ...) [ ... ]