Skip to content

Commit 2ccd73d

Browse files
committed
fix: Fixed typo preventing finding a free key slot when attaching a key
1 parent f4da295 commit 2ccd73d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ class Page extends EventEmitter {
700700

701701
index = -1
702702

703-
for (const i = 0; i < this.KEY_COUNT; i++) {
703+
for (let i = 0; i < this.KEY_COUNT; i++) {
704704
if (!this._keys.has(i)) {
705705
index = i
706706

0 commit comments

Comments
 (0)