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