From the course: Objects in JavaScript: A Dynamic Data Structure

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Objects

Objects

So, here you are at the objects module. You just had a refresher on what the array data structure is in JavaScript, and now, you will have the opportunity to review what objects are in JavaScript. Spoiler alert. Arrays are actually a type of object. Yes, you heard me correct. Just like variables in JavaScript, object store values or are assigned values at initialization. Object store multiple values. Object in JavaScript store their values in what will be referred to in this class as key-value pairs. As you just reviewed, arrays can store multiple values in indices. Arrays, again, are a type of object. This will be discussed more in the next video. So, for now, you can continue to just focus on what the fundamentals of objects are. This course covers how to create an object and store data. You will also review how to access data within objects, and review what methods are. First, objects can be initialized using the new operator. The new operator allows developers to create an…

Contents