JavaScript | Control Flow | Question 10

Last Updated :
Discuss
Comments

What is the correct syntax for labeling a loop in JavaScript?

labelName: for(...) {}

for labelName: {}

loop: {...}

label: { for(...) }

Share your thoughts in the comments