1. Array.prototype.map(): Creates a new array by applying a function to each element of the original array.
const numbers = [1, 2, 3];
const doubled = numbers.map(num => num * 2);
// doubled: [2, 4, 6]
2. Array.prototype.filter(): Creates a new ar...