Files
kotlin-fork/js/js.translator/testData/box/jsCode/functionName.kt
T
Roman Artemev efafb6585e [JS IR BE] Refactored js("...") function
- support object expression
 - do not wrap in function in statement-level position
 - support implicit return
 - code clean up
2019-07-11 18:00:28 +03:00

9 lines
157 B
Kotlin
Vendored

// EXPECTED_REACHABLE_NODES: 1280
fun box(): String {
return js("""
function foo() {
return "OK";
}
foo();
""")
}