Real programs combine arrays and objects to represent richer data. Read a nested expression one step at a time: select a collection item, then follow the property path inside it.
const courses = [
{ title: "JavaScript", lessons: ["Values", "Functions"] },
{ title: "CSS", lessons: ["Selectors"] },
];
console.log(courses[0].lessons[1]); // FunctionsShort tasks trace nested lookups, find selected records, process inner collections, and update nested values without losing sight of the outer structure. Clear paths and well-named intermediate values make this code far easier to debug.