Answers for "es6 loop through an array"

30

javascript loop through array

const array1 = ['a', 'b', 'c'];

array1.forEach(element => console.log(element));
Posted by: Guest on January-10-2020

Code answers related to "es6 loop through an array"

Code answers related to "Javascript"

Browse Popular Code Answers by Language