Replaces the value at the end of a collection, the value that would be returned by pop()
.
var array = [1, 2, 3]; array.pokeBack(4); array // [1,2,4]
Returns the value at the end of a collection, the value that would be returned by pop()
.
Replaces the value at the beginning of a collection, the value that would be returned by shift()
.
Removes a value from the end of a collection, and returns that value.
Adds values to the end of a collection.