The right result of this function

Report a typo

What is the result of this code?

val listOfNames = listOf("John", "Jane", "Joe")
    val listOfAges = listOf(20, 21, 22, 23, 24)
    println(listOfNames.zip(listOfAges).joinToString(
        separator = " and ",
        prefix = "¿",
        postfix = "?",
        limit = 2,
        truncated = "..."
    ) { "${it.first}->${it.second}" })
Select one option from the list
___

Create a free account to access the full topic