Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js add item to array

const fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #js #add #item #array
ADD COMMENT
Topic
Name
2+3 =