JS ObjectsLesson #49

JavaScript Objects

Learn Objects in the Right Order:

Objects Study Path

Learn Objects in the Right Order:

  • First the idea
  • Then how to make them
  • Then how to use them

Step 1Beginner

JavaScript Objects

  • Objects are variables that can store both values and functions
  • Objects are one of the most important concepts in JavaScript
  • If you understand objects, you understand JavaScript

Step 2Beginner

Object Properties

  • JavaScript objects are collections of properties
  • Properties can be changed, added and deleted

Step 3Beginner

Object Methods

  • Methods are actions that can be performed on objects
  • Methods are functions stored as property values

Step 4Beginner

Object this

  • In JavaScript, the this keyword refers to an object
  • It is used to access the object that is calling a method

Step 5Beginner

Object Display

  • Displaying properties by name
  • Displaying properties in a loop
  • Using Object.values()
  • Using JSON.stringify()

Step 6Beginner

Object Constructors

  • Sometimes we need to create many objects of the same type.
  • To create an object type we use an object constructor function.

Advanced Learning Path

Step 1Advanced

Object Definitions

  • Using an Object Literal
  • Using the new Keyword
  • Using an Object Constructor
  • Using Object.assign()
  • Using Object.create()
  • Using Object.fromEntries()

Step 2Advanced

Object this

When used in an object method, this refers to the object.

Step 3Advanced

Object Iterations

  • Object.entries(object)
  • Object.keys(object)
  • Object.values(object)
  • Object.groupBy(object, callback)

Step 4Advanced

Object Get & Set

Getters and setters allow you to define Object Accessors (Computed Properties).

Step 5Advanced

Object Management

  • Accessing property descriptors
  • Adding or changing properties

Step 6Advanced

Object Protection

  • Prevents changes to an object
  • Prevents adding properties
  • Prevents deleting properties

Step 7Advanced

Object Prototypes

  • JavaScript objects inherit properties and methods from a prototype

Step 8Advanced

Object Reference

  • All Object Methods and Properties
  • Revised July 2025
Next Chapter > Continue with the next chapter to learn more about objects: