JavaScript Tutorial
Arrays
Store ordered lists and transform them with array methods.
Arrays are used for lists of data.
Common methods include map, filter, find, push, and includes.
javascript
const topics = ["HTML", "CSS", "JavaScript"];
const labels = topics.map((topic) => topic.toUpperCase());