12 lines
105 B
Scala
12 lines
105 B
Scala
object IfCondition {
|
|
(if((
|
|
val x: Boolean =
|
|
true;
|
|
x
|
|
)) {
|
|
1
|
|
} else {
|
|
2
|
|
})
|
|
}
|