JavaScript Arrays Explained Simply
Arrays keep a list of values in order. Use an index to pick an item, starting at zero for the first one.
const topics = ["Variables", "Functions"];
console.log(topics[0]);
topics.push("Arrays");
console.log(topics.length);
console.log(topics.join(", ")); AI panel
Ask AI to clarify the parts you don’t fully understand.