Course “JS: Objects”

Course updated on April 29, 2025

Subscribe

Access this and all courses with a subscription

What's included

Theory: 13 lessons
Exercises: 12
Questions: 37
Self-study tasks
Extra materials
Extended materials for 13 lessons

Description

The most sophisticated data type in JavaScript is an object. Any composite data, including data with multiple values, and actions taken on them are described using this. Nearly everything, including arrays, functions, and the browser, can represent an object in JavaScript. Arrays and functions are also considered to be objects. The goal of this course is to introduce objects as data storage associative arrays.

You will learn

  • Create, modify and use objects in your programs
  • Efficiently extract data from objects using destructuring
  • Iterate over objects using a for-of loop
  • Understand the structure of hash tables

Syllabus

1

Introduction

Explore the course structure, goals, and objectives

2

Syntax

Learn the syntax for operating objects

3

Modifications

Learn the basic ways to modify objects

4

References

Meet the concept of reference data type

5

Objects in use

See real-life objects use cases

6

Checking if a property exists

Learn how to correctly determine if an object has a property

7

Iterating over object properties

Learn to use the for...of loop to traverse an object

8

Nested objects

Learn the syntax for creating, reading, and modifying nested objects

9

Merging

Learn to extend one object with data from other objects

10

Cloning (copying)

Explore how to create shallow and deep copies of objects

11

Spread and creating new objects

Learn to use spread (expand) operator with objects

12

Destructuring

Learn how to write more concise code for extracting object properties

13

Hash tables

Explore the actual object structure

Challenges

1

Finding differences

2

Query string builder

3

Detecting

4

From array to object

5

DNA to RNA

6

Roman numerals

7

Scrabble

Recommended programs

Course Cover
  • Run code right in the browser
  • Lifetime access
  • Learn at your own pace
Subscribe

Access this and all courses with a subscription