javascript push array into array

JavaScript
array.push(element)var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");some_array = ["John", "Sally"];
some_array.push("Mike");

console.log(some_array); //output will be =>
["John", "Sally", "Mike"]array = ["hello"]
array.push("world");

console.log(array);
//output =>
["hello", "world"] // SPREAD OPERATOR
 const list1 = ["pepe", "luis", "rua"];
 const list2 = ["rojo", "verde", "azul"];
 const newList = [...list1, ...list2];
 // ["pepe", "luis", "rua", "rojo", "verde", "azul"]let items = [1, 2, 3]
items.push(4); // items = [1, 2, 3, 4]
Source

Also in JavaScript: