shift()

 shift()

var list = ["tiger","bird","cat","bear"];


list;

(4) ['tiger', 'bird', 'cat', 'bear']

list.shift();

//Again type list and see your "tiger" data not here the list


'tiger'

list

['bird', 'cat', 'bear']


Comments