Numino Labs interview question

Javascript basic questions on array.shift, array.pop etc.