mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
10 lines
153 B
Kotlin
Vendored
10 lines
153 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// JVM_TARGET: 1.8
|
|
//WITH_RUNTIME
|
|
|
|
fun box(): String {
|
|
val list = listOf("O", "K")
|
|
return list.fold("") {a, b -> a +b}
|
|
}
|
|
|