Transfer Statements: ==================== ==> two types: 1) break ======== ==> is a keyword in JavaScript ==> can always use in loop body for getting the immediate termination/exit from the loop. Syntax: break; for(var i = 1;i <= 10;++i){ if(i == 5){ break; } console.log(i); } console.log("Hi"); console.log("Completed!"); ===================================== for(var i = 1;i <= 10;++i){ // break; console.log(i); break; } console.log("Hi"); console.log("Completed!"); =========================================================== 2) continue =========== ==> a keyword can be used in loops to skip the current iteration and continue with remaining statements. Syntax: continue; for(var i = 1;i <= 10;++i){ if(i == 5){ continue; } console.log(i); } console.log("Hi"); console.log("Completed!"); var i = 20; while(i > 0){ if(i == 10){ i -= 2; continue; } console.log(i); i -= 2; } Switch Statement: ================= ==> switch ===> Keyword ==> we can use to define the selection statement Document Syntax for the switch: ====================== switch(expression){ case label: statements; break; case label: statements; break; default: statements; } Document