Search Header Logo

Advanced JS II

Authored by agustin kenny

Computers

Professional Development

Used 37+ times

Advanced JS II
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

La diferencia entre `call` y `apply` es:

No hay ninguna diferencia

Una retorna una función nueva y la otra invoca a la función.

Los parámetros que reciben

La forma en qué cambian el this

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

La diferencia entre `call` y `bind` es que:

Call cambia el valor del this, y bind no

Bind retorna una nueva funcion, call invoca la función.

No hay diferencia

Los argumentos que reciben

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué es un CLOSURE?

Una función que retorna otra función.

Una variable dentro del scope de una función retornada por otra función.

Una función que retorna otra función y que usa una variable definido en el scope de la función que la retorno.

es un mito JavaScript.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

¿En que orden van a salir los outputs?

Cuatro tres uno dos.

Tres dos uno cuatro.

Cuatro uno dos tres

Uno dos tres cuatro

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

¿En que orden va salir el output?

4 3 2 1

1 3 4 2

1 2 3 4

1 3 2 4

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

En el código de la imagen, qué variable quedaría en un CLOSURE al invocar `makeAdder`?

x

No hay closure

x e y

y

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Con la función ___ podemos forzar el valor de la variable this

console.log

new

this

bind

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?