Hint
Array methods chain fluently — each returns a new array for the next method.
const result = [1, 2, 3, 4, 5, 6]
.filter(n => n % 2 === 0)
.map(n => n * 3);
console.log(result.join(','));6,12,18
Explanation: filter keeps evens [2,4,6], map multiplies each by 3.
Key Insight: Array methods chain fluently — each returns a new array for the next method.