* Add new item or items at the back of the stack. * * @param {*} items An item to add.
(...items: unknown[])
| 25 | * @param {*} items An item to add. |
| 26 | */ |
| 27 | push(...items: unknown[]) { |
| 28 | this.items.push(...items); |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * Remove the last element from the stack and returns it. |
no outgoing calls