Async Await

Async Await

Professional Development

7 Qs

quiz-placeholder

Similar activities

ES6 Quiz 1

ES6 Quiz 1

Professional Development

10 Qs

Asyncio Quiz

Asyncio Quiz

Professional Development

10 Qs

JQuery

JQuery

Professional Development

10 Qs

Sequelize

Sequelize

Professional Development

8 Qs

Quiz Webinar Kotlin 28 April 2021

Quiz Webinar Kotlin 28 April 2021

Professional Development

10 Qs

Javascript 2

Javascript 2

Professional Development

12 Qs

ICT (Information and Communication Technology)

ICT (Information and Communication Technology)

Professional Development

10 Qs

Kuis PowerShell v7.4.0

Kuis PowerShell v7.4.0

Professional Development

11 Qs

Async Await

Async Await

Assessment

Quiz

Computers

Professional Development

Hard

Created by

agustin kenny

Used 22+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo escribimos una generator function?

function#

function*

()* => { }

_function

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Una `async function` es...

Una promesa que solo puede resolverse

Una función que retorna directamente el valor resuelto

Una función que retorna siempre una promesa

Una función que se ejecuta de manera sincronica

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué se va a almacenar en result?

function* generatorUnreacheableValue() { console.log("Iniciando..."); return "Franco"; yield "Toni" } var generatorObject = generatorUnreacheableValue(); var result = generatorObject.next();

{ done: true, value: "Franco" }

{ done: false: value: "Franco" }

{ done: true, value: "Toni" }

{ done: false, value: iniciando... }

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué me va a llegar como valor de generatorObject?

function* generatorShowInstructors() { console.log("Iniciando generator function"); yield "Franco"; yield "Toni" console.log("Generator function terminada"); } var generatorObject = generatorShowInstructors(); generatorObject.next();

Un string `Iniciando generator function`

Un objecto con {done: false, value: 'Franco}

undefined

Un Generator Object

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

¿Qué palabras reservadas se usan para detener y/o finalizar una generator function?

yield

return

m

finally

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Van a ganar puntos con esta pregunta?

Si

No

En el redemption, puede ser.

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Selecciona las afirmaciones que son correctas

No es posible de manera nativa en node usar await sin estar dentro de una funcion

las arrow function no soportan async/await

Puedo usar await sin async en la consola del navegador

con async/await necesito obligatoriamente usar try catch para manejar errores