array.push múltiple

const animals = ['pigs', 'goats', 'sheep'];
animals.push('chickens', 'cats', 'dogs');
console.log(animals);
// expected output: Array ["pigs", "goats", "sheep", "chickens", "cats", "dogs"]
Foolish Flatworm