2018-10-16 21:32:40 +05:30

855 B

title
title
Loops

Loops are used in JavaScript to perform repeated tasks based on a condition. Conditions typically return true or false when analysed. A loop will continue running until the defined condition returns false.

There are three common types of loops:

You can type js for, js while or js do while to get more info on any of these.

Links: MDN for loop