What goes in the blank?
// remove and return the FIRST item const first = queue.____();
Answer: shift
shift() removes the first element and returns it.
Play Problem Solving ▸
// remove and return the FIRST item const first = queue.____();
Answer: shift