Hi there! I'm learning Kotlin and I wanted to hav...
# getting-started
p
Hi there! I'm learning Kotlin and I wanted to have call a function without any (), so I wrote it like this:
Copy code
val br = {
    for (i in 1..2) {
        for (k in 1..180)
            print("—")

        println()
    }
}()