Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

append to array in js

var colors=["sajad","ali"];
colors.push("reza");//append 'blue' to colors
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #append #array #js
ADD COMMENT
Topic
Name
4+4 =