Arrays
9 lessons
- 01ArraysLearn how to store multiple values in a single variable using JavaScript arrays.
- 02Array LengthUse the length property to count how many items exist in an array.
- 03Array SpreadUse the spread syntax to easily merge arrays together or insert elements inline.
- 04IncludesEasily verify if an array or string contains a specific value using the .includes() method.
- 05For...of LoopsIterate cleanly through an array's elements without needing a manual counter index.
- 06Slicing ArraysExtract specific subsets of an array using the .slice() method.
- 07Const ArraysUnderstand the behavior of the const keyword when applied to arrays and reference types.
- 08DestructuringUnpack values from arrays into distinct variables using destructuring syntax.
- 09Chapter 8 Cheatsheet: ArraysA quick summary of JavaScript array methods, iteration, and destructuring.