Answers for "foreach loop js arrow functons"

-1

foreach loop js arrow functons

someValues.forEach((element, index) => {
    console.log(`Current index: ${index}`);
    console.log(element);
});
Posted by: Guest on May-06-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language