js for loop modern code example
Example: modern javascript for loop syntax
let friends=["jony","tom","Tejas"];
for(elements of friends){
console.log(elements);
}
let friends=["jony","tom","Tejas"];
for(elements of friends){
console.log(elements);
}