Methods

pushΒΆ

push(arr:Arr, v:Any)

Append item to an array.

Returns

arr

Example

a=[1,2]; a.push(3)  # a is now [1,2,3]