Course contents
- 01Variables
- 02Primitive Data Types
- 03Operators
- 04Conditionals
- 05Arrays
- 06Array methods and properties
- 07Objects
- 08Functions
- 09Callbacks
- 10Arrow functions
- 11Promises
- 12Async and await
- 13Loops
- 14DOM Manipulation
- 15Syntax parser
- 16Execution context and hoisting
- 17Call stack
- 18WebAPI and setTimeout
- 19Closures
- 20Function Constructors and Prototypes
- 21By value vs by reference
Arrays
You can store a sequence of any type of data in an array. Arrays can look like:

Arrays are used to store the same type of data. With array methods, you can manipulate, add, loop over, or get data out of your array. The fastest way to get access to an element in an array is by using its index.
Indexes of arrays start at 0, so the very first element in an array has index 0. You can access this element by using the array’s name, followed by brackets.

Let’s quickly get to array methods to see what wonderful things we can do with our lists of data.
References and further reading
- MDN: ArrayThe complete array reference.
- MDN: Array elementsHow indexes and length work.