I'd be happy to. Arrays are a sequence of values, indexed by their location in the array.
let kids = ["Ross", "Charlotte"]; console.log("First kid is ", kids[0]); let bigKids = kids.map((k) => k.toUpperCase()); bigKids.forEach((kid, index) => { console.log(index, ": ", kid) });
Great question. For map:
While forEach:
Yeah, forEach takes the place of a loop. The difference is that is a method rather than a syntactic construct.