From the course: Data Structures in JavaScript: BSTs, Queues, and Stacks
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Remember these data structures? - JavaScript Tutorial
From the course: Data Structures in JavaScript: BSTs, Queues, and Stacks
Remember these data structures?
- [Instructor] So let's dive in and discuss arrays and objects. You are most likely already familiar with what these data structures are in general and why we use them in computer science. If you still have questions or are unclear, I would suggest taking a look at my course entitled "Objects in JavaScript: A Dynamic Data Structure," and review the introduction part two and chapter one on data structures. You may also consider reviewing another introductory course on data structures before continuing this chapter. Otherwise, let's continue on. JavaScript utilizes an array of data structures to store data efficiently. Did you catch that joke? If not, it's okay. But in all seriousness, an array is one type of data structure that is used to store and retrieve data efficiently. In JavaScript, an array can be instantiated as a single variable that is used to store elements of differing data types. Instantiate is a fancy technical term for creating. When creating a new array, as shown here…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.