Pregunta de entrevista de Full Stack

what is shift and unshift method