The right result

Report a typo

What is the result of applying the count function in this code?

val namesLength = emptyList<String>().reduce { acc, name ->
        if (name.length >= 3) acc + name.length else acc
    }
println(namesLength)
Select one option from the list
___

Create a free account to access the full topic