Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript array print all

var array = [1, 2, 3]

array.forEach((num) => {
  console.log(num);
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #array #print
ADD COMMENT
Topic
Name
2+7 =