Services Work Learn About Contact
0/10
Lesson 6 of 10

Arrays

Arrays store multiple values in one variable. Access items by index (starting at 0). Common methods: push(), pop(), length, includes().

JS
let fruits = ["apple", "banana", "cherry"];

console.log(fruits[0]);      // "apple"
fruits.push("date");
console.log(fruits.length);  // 4
🧠

Quick Quiz

Answer correctly to unlock the next lesson.

Support the mission

This learning platform is 100% free: no ads, no tracking, no paywalls. If it helped you learn something useful, you can support future lessons or donate to Doctors Without Borders, which provides emergency medical care in crisis zones worldwide.

🎉

You completed JavaScript!

You finished all 10 lessons and quizzes. You now know the basics of JavaScript.