JavaScript Objects
JavaScript Object Study Path
Learn Objects in the Right Order:
- First the idea
- Then how to make them
- Then how to use them
- Properties, Methods, this
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
- Method are functions stored as a 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 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 6Advanced
Object Protection
- Prevents changes to an object
- Prevents adding properties
- Prevents deleting properties
Next Chapter
Continue with the next chapter to learn more about objects: