mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-31 18:01:36 -04:00
Comment addition for "break" (#33714)
This commit is contained in:
committed by
The Coding Aviator
parent
8d95b8af5d
commit
a70b243ea2
@@ -154,7 +154,7 @@ switch (n)
|
||||
{
|
||||
case constant1:
|
||||
// code to be executed if n is equal to constant1;
|
||||
break;
|
||||
break; // break is used to quit from switch statement without executing next case or default
|
||||
|
||||
case constant2:
|
||||
// code to be executed if n is equal to constant2;
|
||||
|
||||
Reference in New Issue
Block a user