What is the result?

Report a typo

What will be output in a standard terminal?

val numbers = listOf(2, 5, 25, 1089, 4)
val value = with(numbers) {
    var numbers = this
    this.drop(5)
    numbers.lastOrNull()
}

println(value)
Enter a number
___

Create a free account to access the full topic