Javascript modern untuk sintaks 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);
}
)