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