Skip to main content
grasp.study
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
JavaScript basics for web development
·
Module 9
Working with Arrays and Iteration Methods
1
Array Basics: Creation and Indexing
Create arrays and access/modify elements by index.
2
Manipulating Arrays: Push, Pop, Shift, and Unshift
Add and remove elements from arrays using push, pop, shift, and unshift.
3
Shallow Copies with Slice
Use the slice method to create a shallow copy of an array.
4
Modifying Arrays with `splice()`
Use the splice method to modify an array by removing, replacing, or adding elements.
5
Iterating with forEach
Iterate over arrays using the forEach method.
6
Mapping Arrays with `.map()`
Transform arrays into new arrays using the map method.
7
Filtering Arrays with the `filter()` Method
Create new arrays containing only elements that pass a test using the filter method.
8
Reducing Arrays with `reduce()`
Compute a single value from an array using the reduce method.
Previous module
Working with Objects
Next module
Modern JavaScript (ES6+)