append()Add new element to the end of an array
append(arr, value)
arr (array) — An arrayvalue (any) — Value to be added to arr
boolean — Always returns true
a = [1, 2, 3]
append(a, 4)
append(a, 5)
' a is:
' array(
' [0] = 1,
' [1] = 2,
' [2] = 3,
' [3] = 4,
' [4] = 5
' )