Search Interview Questions
Question: What does break and continue statements do?
Answer: Continue statement continues the current loop (if label not specified) in a new iteration whereas break statement exits the current loop.
|
|||||||||||
Question: What does break and continue statements do?
Answer: Continue statement continues the current loop (if label not specified) in a new iteration whereas break statement exits the current loop. Source: CoolInterview.com In Loop,when Break statement occurs then control breaks the loop & comes outside of loop ![]() ![]() CONTINUE; ![]() ![]() If you have the better answer, then send it to us. We will display your answer after the approval Rules to Post Answers in CoolInterview.com:-
|
Related Questions | ||
How to create a function using function constructor? |
|
|
What's Prototypes for JavaScript? |
|
|
How to add Buttons in JavaScript? |
|
|
Example of using Regular Expressions for syntax checking in JavaScript? |
|
|
How to create arrays in JavaScript? |
|
|
How do you convert numbers between different bases in JavaScript? |
|
|
What are JavaScript Data Types? |
|
|
How do you submit a form using JavaScript? |
|
|
What are decodeURI() and encodeURI() functions in JavaScript? |
|
|
What's Prototypes for JavaScript? |
|
|
How to create a function using function constructor? |
|
|
What does break and continue statements do in JavaScript? |
|
|
What is eval() in JavaScript? |
|
|
How to associate functions with objects using JavaScript? |
|
|
How to create an object using JavaScript? |
|
|
How to shift and unshift using JavaScript? |
|
|
How to make a array as a stack using JavaScript? |
|
|
How to use "join()" to create a string from an array using JavaScript? |
|
|
How to use strings as array indexes using JavaScript? |
|
|
How to delete an array entry using JavaScript? |
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Java Script Interview Questions & Answers - Exam Mode / Learning Mode
India News Network |