Quiz

In this lesson, we will solve a quiz related to the concepts covered in the previous lesson

We'll cover the following...
1

What is the correct output of the following code?

function func() {
  let promise = Promise.resolve(1);
  let result = await promise;
}
func();
A)

1

B)

true

C)

undefined

D)

SyntaxError

Question 1 of 20 attempted
...
Access this course and 1400+ top-rated courses and projects.