How to Loop Through an Array with a forEach Loop in JavaScript
const scores =[22,54,76,92,43,33];
scores.forEach((score)=>{console.log(score);});// You can write the above in one line this way:// scores.forEach((score) => console.log(score));// will return// 22// 54// 76// 92// 43// 33