What is logged to the console?

Given the code below: const delay = sync delay => { Return new Promise((resolve, reject) => { setTimeout (resolve, delay);});}; const callDelay =async () =>{ const yup =await delay(1000); console.log(1); What is logged to the console?
A. 1 2 3
B. 1 3 2
C. 2 1 3
D. 2 3 1

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.