Join Slack
Powered by
Hi there! I'm learning Kotlin and I wanted to hav...
# getting-started
p
perryprog
05/30/2017, 9:10 PM
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() } }()
5
Views
Open in Slack
Previous
Next