how to use for loops in es 7 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);
}