Skip to content
vocaboo
Beta

unshift

Pronunciation: [ʌnʃɪft]

Word

Context: "programming"

(verb) to remove the first item from an array or list in computer programming. It’s like taking the first toy out of a box so you can play with the others that are left.

Example

I used the 'unshift' command to get rid of the first item in the list.

Example

I didn't 'unshift' anything, so the first item is still in the array.

Example

Did you remember to 'unshift' the first element from the array?

0s
0s