Removes and returns the last element from an array.
1 2 3
var arr []number = [1, 2, 3] var last number = arrays.pop(arr) printf("%g\n", last) // 3