Last updated 2 months ago
Was this helpful?
This function adds one or more elements to the beginning of the original array and returns the length of the modified array.
ArrayUnshift(array=[modifiablearray], object=[any])
array
modifiablearray
true
The array to add an item to
object
any
The value to add