Pop and return the most recent snapshot, or undefined if empty.
()
| 14 | |
| 15 | /** Pop and return the most recent snapshot, or undefined if empty. */ |
| 16 | pop(): S | undefined { |
| 17 | return this.stack.pop(); |
| 18 | } |
| 19 | |
| 20 | /** Remove all snapshots. */ |
| 21 | clear(): void { |
no outgoing calls