DLiteScript

arrays.push

Adds one or more elements to the end of an array.

Examples

1
2
3
var arr []number = [1, 2, 3]
arr = arrays.push(arr, 4, 5, 6)
printf("%s\n", arr) // [1, 2, 3, 4, 5, 6]