for loop in es 5 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);
}