ArrayPush
Adds an element or an object to the end of an array, then returns the size of the modified array.
Method Signature
Arguments
Argument | Type | Required | Description | Default |
---|---|---|---|---|
|
|
| The array to which the element should be appended. | |
|
|
| The element to append. Can be any type. |
Examples
Related
Last updated