Included in the course
13 lessons (video or text)
19 exercises in the IDE
37 quizzes
Assistance in Discussions on the website
Access to other courses of the our platform
What you'll 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
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.
Course program
Estimated time: 16 hours
-
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 -
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 -
14
Do it yourself
Some additional tasks to help you consolidate the theory you've learned -
15
Additional resources
Some materials the Hexlet team have picked up. This will give you a more in-depth understanding of the topic
Challenges
We recommend working on these challenges after completing the course. They'll help you obtain more experience in programming and strengthen your new skills.
#
Challenge
completion rate