JS: move expressions test to box tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package foo
|
||||
|
||||
fun box(): String {
|
||||
val a = 10
|
||||
val b = 3
|
||||
when {
|
||||
a > b -> return "OK"
|
||||
b > a -> return "b"
|
||||
else -> return "else"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user