Types of loop in JavaScript are ______,______
a. For……….loop
b. do ………. End
c. While………loop
d. While……..wend
e. for………next
Answers
Answered by
1
Answer:
while — loops through a block of code as long as the condition specified evaluates to true.
do…while — loops through a block of code once; then the condition is evaluated. If the condition is true, the statement is repeated as long as the specified condition is true.
for — loops through a block of code until the counter reaches a specified number.
for…in — loops through the properties of an object.
for…of — loops over iterable objects such as arrays, strings, etc.
Answered by
1
Answer:
E. For....... next
Explanation:
Answer is E.
Similar questions