typescript for (let i = 0; code example
Example: angular 7 for loop index ts
for (let i = 0; i < 3; i++) {
console.log ("Block statement execution no." + i);
}
for (let i = 0; i < 3; i++) {
console.log ("Block statement execution no." + i);
}