B4Coder

🎧 Help Desk · Mission 4 of 6

↩️ Undo

As each ticket is closed, its id goes on a stack of what's been done. Oops: the last one wasn't really fixed. Undo it.

Your mission

  1. Make closed = [ ].
  2. Go through tickets, and Push each t.id onto closed.
  3. Then Pop closed into undone, and Tell "Reopened " + undone.

Getting the mission ready…