Learn JavaScript: Arrays and Iteration
Create arrays to store your information and learn how to iterate over these collections.
StartKey Concepts
Review core concepts you need to learn to master this subject
Property .length
Property .length
const numbers = [1, 2, 3, 4];
numbers.length // 4
The .length
property of a JavaScript array indicates the number of elements the array contains.
Arrays
Lesson 1 of 4
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory