mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
8 lines
155 B
Kotlin
8 lines
155 B
Kotlin
fun String.plus() : String {
|
|
if (this == "") {
|
|
return "done"
|
|
}
|
|
return +""
|
|
}
|
|
|
|
fun box() : String = if (+"11" == "done") "OK" else "FAIL" |