JavaScript moderno para sintaxe de loop
let friends=["jony","tom","Tejas"];
for(elements of friends){
console.log(elements);
}
Helpful Hedgehog
let friends=["jony","tom","Tejas"];
for(elements of friends){
console.log(elements);
}
let friends=["jony","tom","Tejas"];
friends.forEach(
function f(i){
console.log(i);
}
)