EPAM Systems interview question

Types of loop in javascript