Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript print array

var arr = [1,2,4,5]
console.log(...arr) //Spreading operator in JS
 
PREVIOUS NEXT
Tagged: #javascript #print #array
ADD COMMENT
Topic
Name
3+3 =