Overview
Syllabus
Intro
Arrays are Data Structures
How to create an array
How to add elements to an array
Reference an array and view it in the console
Length property of an array
Reference the last element in an array
Reference any item in an array by position
Using the push method to add elements to an array
Using the pop method to remove elements from an array
Using the unshift method to add elements to an array
Using the shift method to remove elements from an array
Do the element positions change in the array?
Referencing an element that does not exist
How to remove an element from the middle of an array
What happens when you delete an element from an array
Using the splice method to remove, replace, and insert elements
The slice method
The reverse method
The join method
The split method is a string method that creates a new array
The concat method
Using the spread operator to combine arrays
Multidimensional arrays / Nested arrays: Sports Store example
Referencing an element in a single dimension array
Referencing an element in a two dimensional array
Referencing an element in a three dimensional array
Taught by
Dave Gray