Pop Derniter Element Array Swift
// Initialize the Array
var a = [1,2,3]
// Remove last item
let lastItem = a.removeLast()
print(lastItem)
print(a)
Mobile Star
// Initialize the Array
var a = [1,2,3]
// Remove last item
let lastItem = a.removeLast()
print(lastItem)
print(a)