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
array
modifiableArray
true
The array to which the element should be appended.
value
any
true
The element to append. Can be any type.
Examples
Related
Last updated