Append an element to the end of an array.
Returns a new array with the element appended.
Arguments
| Name | Type | Description | Required |
|---|---|---|---|
array | [any] | The array which you're adding a new item to. | Yes |
item | any | The new item to add to the array | Yes |
Returns
[any; 1+]