ArrayPush
Method Signature
ArrayPush(array=[modifiableArray], value=[any])Arguments
Argument
Type
Required
Description
Default
Examples
Push a value onto an array
arr = [
1,
2,
3
];
arrayPush( array=arr, value=42 );
writeOutput( "This array has " & arrayLen( arr ) & " elements." );
Member function version.
Push an object onto an array.
Additional Examples
Related
Last updated
Was this helpful?
