c5922bf74b
[JS IR BE] Runtime fixes * Do not generate external declarations for IR BE * Move `arrayToString` helper function out of shared JS stdlib * Fix arrays type check for IR BE
7 lines
157 B
Kotlin
Vendored
7 lines
157 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
fun box(): String {
|
|
val list = arrayOf("a", "c", "b").sorted()
|
|
return if (list.toString() == "[a, b, c]") "OK" else "Fail: $list"
|
|
}
|