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 www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #append #array #js
ADD COMMENT
Topic
Name
3+5 =