for of in es5 javascript 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);
}