2022-04-07 18:43:21 +02:00

4 lines
72 B
Scala

object IfCondition {
if (val x: Boolean = true; x) { 1 } else { 2 }
}