Answers for "javascript array print all"

0

javascript print all items in array

var a = ["a", "b", "c"];
a.forEach(function(entry) {
  console.log(entry);
});
Posted by: Guest on June-04-2021
0

javascript array print all

var array = [1, 2, 3]

array.forEach((num) => {
  console.log(num);
})
Posted by: Guest on April-16-2022
0

javascript array print all

var array = [1, 2, 3]

array.forEach((num) => {
  console.log(num)
})
Posted by: Guest on April-16-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language