Pergunta de entrevista da empresa 4C Consulting

What's a difference between JavaScript pop and shift.