12 lines
262 B
Kotlin
Vendored
12 lines
262 B
Kotlin
Vendored
// DONT_TARGET_EXACT_BACKEND: WASM
|
|
// WASM_MUTE_REASON: STDLIB_COLLECTIONS
|
|
// KJS_WITH_FULL_RUNTIME
|
|
// WITH_RUNTIME
|
|
|
|
val progression = 1 .. 3 step 2
|
|
|
|
fun box(): String = when {
|
|
0 in progression -> "fail 1"
|
|
1 !in progression -> "fail 2"
|
|
else -> "OK"
|
|
} |