59 lines
568 B
JavaScript
59 lines
568 B
JavaScript
switch (true) {
|
|
case true:
|
|
// Good luck getting here
|
|
|
|
case false:
|
|
}
|
|
|
|
switch (true) {
|
|
case true:
|
|
|
|
// Good luck getting here
|
|
case false:
|
|
}
|
|
|
|
switch(x) {
|
|
case x: {
|
|
}
|
|
|
|
// other
|
|
|
|
case y: {
|
|
}
|
|
}
|
|
|
|
switch(x) {
|
|
default: // comment
|
|
break;
|
|
}
|
|
|
|
switch(x) {
|
|
default: // comment
|
|
{break;}
|
|
}
|
|
|
|
switch(x) {
|
|
default: {// comment
|
|
break;}
|
|
}
|
|
|
|
switch(x) {
|
|
default: /* comment */
|
|
break;
|
|
}
|
|
|
|
switch(x) {
|
|
default: /* comment */
|
|
{break;}
|
|
}
|
|
|
|
switch(x) {
|
|
default: {/* comment */
|
|
break;}
|
|
}
|
|
|
|
switch(x) {
|
|
default: /* comment */ {
|
|
break;}
|
|
}
|