@for in html code example
Example 1: for javascipt
for (let i = 0; i < 9; i++) {
str = str + i;
}
Example 2: javascript for of
const numbers = [1,2,3,4];
for(const item of numbers){
console.log(item);
}
for (let i = 0; i < 9; i++) {
str = str + i;
}
const numbers = [1,2,3,4];
for(const item of numbers){
console.log(item);
}