Arrays in JavaScript, Part 1

Purchase a Subscription!

Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.


Instructor

Eric Greene

Description

Arrays in JavaScript are fundamental building blocks for structuring data. Arrays are objects themselves, and they contain collections of primitive values and object references. Learn the basics of working with arrays in JavaScript, and learn about new and more efficient ways to work with arrays in ES2015.

Table of Contents

00:00:00 Introduction
00:01:15 Overview
00:05:07 Creating Arrays and Accessing Items
00:12:58 Array Creation and Initialization (Demo)
00:22:57 Destructuring and Rest
00:25:30 Destructuring and Rest in Action (Demo)
00:28:50 Adding, Removing, Copying, and Sorting Items
00:37:27 Adding, Removing, Copying, and Sorting Items (Demo)
00:50:49 Iterating Over Array Items
00:56:16 Iterating with Loops and the ForEach Function (Demo)
01:02:26 Array Iterables
01:08:52 Keys, Values, and Entries (Demo)
01:16:30 Conclusion

Related Links

  • Lesson 7 Code Samples (requires a paid subscription)

Series

This course is part of the following series: