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 this code:

const name = "myname";
const person = {
  [name]:"Alberto",
};
console.log(person.myname);
A)

name

B)

“name”

C)

“Alberto”

D)

myname

Question 1 of 20 attempted

In ...

Access this course and 1400+ top-rated courses and projects.