Objects in JavaScript: representing, accessing, and organizing information
Create records with properties and methods, combine objects and arrays, and understand references and shallow copies. Build a course and student management system with explicit rules and tests for typical and missing cases.
- Level
- Beginner
- Lessons
- 5
- Learning steps
- 66
Your lesson journey
Each lesson has a purpose. Follow the order or revisit an idea you want to practise.
5 of 5 lessons shown
The numbers show the lesson order, not your progress.
What you will learn
Create object literals and explain properties, keys, and values. Access properties with dot and bracket notation and modify, add, and delete properties. Define traditional methods and use this in objeto.metodo() calls. Inspect own properties with Object.keys, Object.values, Object.entries, and Object.hasOwn. Access nested structures and optional properties. Combine objects and arrays and reuse map, filter, and find. Extract data with destructuring and build versions with spread. Predict shared references and the limits of shallow copies. Build and test course and student management with reusable functions.
Before you start
Complete courses 01 through 11 of Programming Fundamentals, or know variables, basic types, operators, conditionals, loops, functions, return, arrow functions, arrays, and the map, filter, and find methods. No experience with object literals or classes is required.
About this course
Read the full description
Five complete lessons with Codi to move from simple properties to an in-memory management system. Includes worked examples, relationship diagrams, activities with hints and specific feedback, labs, and a complete challenge reference.
The progression covers access and modification, methods and inspection, nested structures, arrays of records, destructuring, and shallow copies. It distinguishes absence, undefined, mutation, and creating versions. The challenge defines capacity and unique identifiers without interfaces or persistence.
The programs are educational and self-contained, with fictional data. Use independent contexts if your console retains earlier declarations. Arrays and functions may look different across consoles; compare values and behavior. Open labs and reflections are not automatically assessed. Classes, APIs, and installations are not required.
This course is part of these learning paths
Follow the suggested order or take this course on its own.