Avatar
// Kotlin class Foo { operator fun invoke(): Int { return 42 } } val foo = Foo() println(foo()) // 42