component2
Returns 2nd element from the array.
inline operator fun <T> Array<out T>.component2(): T(source)
val numbers = arrayOf(10, 20, 30)
val secondElement: Int = numbers.component2()
println("The second element is $secondElement") // Output: The second element is 20