text: let sports = ['soccer', 'baseball', 'football', 'swimming'];
  
  let poped = sports.pop();
  console.log(poped);
  console.log(sports);  // ['soccer', 'baseball', 'football']
  
  let shifted = sports.shift();
  console.log(shifted);
  console.log(sports);  // ['baseball', 'football']