0 of 10 problems solved • 0%

Exercise prompt

Read a Nested Property

A nested object stores another object as one of its properties. Follow the property path one level at a time.

Example

const user = { name: "Mira", address: { city: "Lund" } }; console.log(user.address.city); // Output: // Lund

Your task

Read the teacher's name from the nested course object into teacherName, then display Teacher: Nora.