Skip to content

Commit

Permalink
update(JS): web/javascript/reference/iteration_protocols (#3452)
Browse files Browse the repository at this point in the history
  • Loading branch information
undead404 authored Oct 26, 2024
1 parent 2a7b743 commit dab3e09
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ class MyIterable {
}
delete(deletedKey) {
for (let i = 0; i < this.#data.length; i++) {
if (this.#data[i][1] === deletedKey) {
if (this.#data[i][0] === deletedKey) {
this.#data[i] = tombstone;
return true;
}
Expand Down

0 comments on commit dab3e09

Please sign in to comment.