Async Await

Quiz
•
Computers
•
Professional Development
•
Hard
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
Similar Resources on Wayground
8 questions
Flutter Prague #7

Quiz
•
Professional Development
8 questions
¿Pusiste atención al video?

Quiz
•
Professional Development
6 questions
APIs

Quiz
•
Professional Development
10 questions
ICT (Information and Communication Technology)

Quiz
•
Professional Development
10 questions
MBS Direct Helix OMS Quiz

Quiz
•
Professional Development
10 questions
Deep Learning

Quiz
•
Professional Development
9 questions
Differences between JDK, JRE, JVM

Quiz
•
Professional Development
10 questions
Mobile legend

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade