Dapatkan elemen terakhir array Swift

let array = ["A", "B", "C", 1, 2, 3]
let size = array.count
last_element = array[size-1]
print(last_element)
Cruel Centipede