Pike v8.0 release 1738

Method Array.push()


Method push

array push(array list, mixed element)

Description

Threats an Array as a stack and pushes the element onto the end.

Example

Array.push(({ "a", "b", "c", "d" }), "e"); > ({ "a", "b", "c", "d", "e" })

See also

ADT.Stack, ADT.Stack.push