Numino Labs Interview Question

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