yeah, you tried to invoke a string. Just for fun y...
# announcements
c
yeah, you tried to invoke a string. Just for fun you can do that in Kotlin so the following works well
Copy code
fun main(args: Array<String>) {
    "Hello, String"()
}

operator fun String.invoke() {
    println(this)
}
😮 5