MCQ Answer

Which of the following is true about the break and continue statements in JavaScript?

Which of the following is true about the break and continue statements in JavaScript?

जावास्क्रिप्ट में ब्रेक और कंटीन्यू स्टेटमेंट के बारे में निम्नलिखित में से कौन सा सत्य है?
Topic : JS Control Flow and Loops

A. break statement stops the loop, and continue skips the current iteration

B. continue statement stops the loop, and break skips the current iteration

C. Both break and continue stop the loop

D. Both break and continue skip the current iteration




Correct Answer is :

A. break statement stops the loop, and continue skips the current iteration



Explanation
The break statement terminates the loop entirely, while continue skips the current iteration and moves to the next.
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2025 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz