TypeScript For Loop Statement

The for statement will execute a block of code, when you already know how many times script should perform or you want loop through a block of code to specific number of time.

Syntax

TypeScript For In Loop Example 1

Try it Yourself