Answers for "how to return current value in javascript using foreach"

23

foreach jas

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

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

Code answers related to "how to return current value in javascript using foreach"

Code answers related to "Javascript"

Browse Popular Code Answers by Language