3 lines
78 B
Kotlin
3 lines
78 B
Kotlin
fun foo(i: Int, j: Int = i) = j
|
|
|
|
fun box() = if (foo(1) == 1) "OK" else "fail" |