JS: move expressions test to box tests
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package foo
|
||||
|
||||
fun box(): String {
|
||||
fun String.test(i: Int) = this + i + "OK"
|
||||
val a = "foo".test(32)
|
||||
if (a != "foo32OK") return "$a"
|
||||
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user