(word: string, sectionIndex: number)
| 31 | return this.list[this.list.length - 1] as string; |
| 32 | } |
| 33 | push(word: string, sectionIndex: number): void { |
| 34 | this.list.push(word); |
| 35 | this.sectionIndexList.push(sectionIndex); |
| 36 | this.length = this.list.length; |
| 37 | } |
| 38 | |
| 39 | reset(): void { |
| 40 | this.list = []; |
no outgoing calls