fun constVal(): Int { return 5 } fun funcNoArg1(i: Int): Int = i * constVal()
Experiment with this code on Gitpod.io or as a Kotlin Playground
⬅ Back