This commit is contained in:
krahets
2023-09-21 20:44:38 +08:00
parent fca420d938
commit 02757deee2
13 changed files with 408 additions and 623 deletions

View File

@@ -1137,7 +1137,6 @@ index = hash(key) % capacity
print() {
let pairSet = this.entries();
for (const pair of pairSet) {
if (!pair) continue;
console.info(`${pair.key} -> ${pair.val}`);
}
}
@@ -1230,7 +1229,6 @@ index = hash(key) % capacity
public print() {
let pairSet = this.entries();
for (const pair of pairSet) {
if (!pair) continue;
console.info(`${pair.key} -> ${pair.val}`);
}
}