What does this program print?

from Kotlin fundamentals
Kotlin 2.4.10 beginner 2 min

What does this program print?

kotlin
fun main() {
    val tags = mutableListOf("core")
    val alias = tags
    tags.add("jvm")
    println(alias.joinToString(" | "))
}
Open in playground
Report an error