Frontmatter
| id | 8202 |
| title | Fix copy-paste error in HashHistory.second() |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Dec 29, 2025, 9:59 PM |
| updatedAt | Dec 29, 2025, 10:01 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8202 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 29, 2025, 10:01 PM |

The
second()method insrc/util/HashHistory.mjsincorrectly accesses index 0 instead of index 1. It appears to be a copy-paste error from thefirst()method.Corrective Action: Change
this.getAt(0, windowId)tothis.getAt(1, windowId)insidesecond().