Put in order · JavaScript and TypeScript course · Module 1: JavaScript Basics

for Loop Syntax

Arrange the for loop elements in the correct order:

Items to put in order

  • (let i=0;
  • i++)
  • i<10;
  • for
Show the answer

Correct order:

  1. for
  2. (let i=0;
  3. i<10;
  4. i++)