Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js push array into array

var fruits = ["Orange", "Apple", "Mango"];
var moreFruits = ["Banana", "Lemon", "Kiwi"];

fruits.push(...moreFruits);
//fruits => ["Orange", "Apple", "Mango", "Banana", "Lemon", "Kiwi"] 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #push #array #array
ADD COMMENT
Topic
Name
1+8 =