Files
kotlin-fork/js/js.translator/testData/box/jsCode/literalInVal.kt
T
Alexander Korepanov 78aa34b3e8 [JS IR] Fix JS box tests
^KT-62425
2023-10-26 19:22:14 +00:00

13 lines
191 B
Kotlin
Vendored

fun foo(): String {
val q1 = "O"
val q2 = "K"
val qq = q1 + q2
@Suppress("JSCODE_ARGUMENT_NON_CONST_EXPRESSION")
val b = js("\"$qq\"")
return b
}
fun box() = foo()