DOAP - Looping Statements In Js
Questions No: 1/7

What is the correct syntax for a for loop?
फॉर लूप के लिए सही सिंटैक्स क्या है?

Questions No: 2/7

Which loop is guaranteed to execute at least one time, regardless of the condition?
स्थिति की परवाह किए बिना, किस लूप को कम से कम एक बार निष्पादित करने की गारंटी है?

Questions No: 3/7

Which of the following is true about the break and continue statements in JavaScript?
जावास्क्रिप्ट में ब्रेक और कंटीन्यू स्टेटमेंट के बारे में निम्नलिखित में से कौन सा सत्य है?

Questions No: 4/7

Which loop is most appropriate when the number of iterations is known beforehand?
जब पुनरावृत्तियों की संख्या पहले से ज्ञात हो तो कौन सा लूप सबसे उपयुक्त है?

Questions No: 5/7

Can we nest loops in JavaScript?
क्या हम जावास्क्रिप्ट में लूप्स को नेस्ट कर सकते हैं?

Questions No: 6/7

How many times will the following loop execute How many times will the following loop execute?

for (let i = 0; i < 5; i++) 
{
 console.log(i);
}

Questions No: 7/7

What will be the output of the following JavaScript code?

let i = 0;
while(i < 3) {
  console.log(i);
  i++;
}