mirror of
https://github.com/swc-project/swc.git
synced 2025-01-02 10:37:56 +03:00
c6b22c57f8
Co-authored-by: Fábio Santos <fabiosantosart@gmail.com>
9 lines
136 B
JavaScript
9 lines
136 B
JavaScript
switch (true) {
|
|
case boolCondition:
|
|
console.log(1);
|
|
break;
|
|
case false:
|
|
console.log(2);
|
|
break;
|
|
}
|