Array
1. What is an Array?
2. Array Syntax
3. Array Index Finding/Adding/Deleting
Getting Index Values
let myNumber = [73, 98, 86, 61, 96];
// What is the value at the 3rd index of the myNumber array?
myNumber[3]; // 61
let myNumber = [73, 98, 86, 61, 96];
// What is the value at the 5th index of the myNumber array?
myNumber[5]; // undefined: this array only has values up to the 4th indexGetting Index Values from Arrays Inside Arrays
Finding Array Length
4. Array Iteration
Using Loops to Print Each Element of an Array
Adding All Elements of an Array Cumulatively
5. Object Value Lookup Methods
Array.isArray
push, pop
indexOf
includes
Last updated