foreach loop js arrow functons

JavaScript
someValues.forEach((element, index) => {
    console.log(`Current index: ${index}`);
    console.log(element);
});
Source

Also in JavaScript: