Tomasz Krakowiak
10/10/2021, 3:01 PMfun main() {
println(arrayOf("x")[1])
}
on JVM and JS - https://pl.kotl.in/OQW7p5XAL
I guess that's stdlib bug.
Slack Conversationhho
10/10/2021, 7:46 PMIf the index is out of bounds of this array, throws an IndexOutOfBoundsException except in Kotlin/JS where the behavior is unspecified.