Quiz

In this lesson, we’ll take a quiz related to the concepts covered in the previous lesson.

We'll cover the following...
Technical Quiz
1.

What is the correct output of the following code?

var greeting = "Hello";

greeting = "Farewell";

for (var i = 0; i < 2; i++) {
  var greeting = "Good morning";
}
console.log(greeting);
A.

Hello

B.

Good morning

C.

Farewell


1 / 4

In the ...