JS backend: testFiles -> testData
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package foo
|
||||
|
||||
fun box(): Boolean {
|
||||
var a = 4
|
||||
when(a) {
|
||||
3 -> {
|
||||
a = 10;
|
||||
}
|
||||
4 -> {
|
||||
a = 20;
|
||||
}
|
||||
else -> {
|
||||
a = 30;
|
||||
}
|
||||
}
|
||||
return (a == 20)
|
||||
}
|
||||
Reference in New Issue
Block a user