Skip to content

Commit

Permalink
capricorn86#1168@trivial: Fixes problem with length property.
Browse files Browse the repository at this point in the history
  • Loading branch information
capricorn86 committed Jan 14, 2024
1 parent 74c4d06 commit abc3ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/happy-dom/src/dom-token-list/DOMTokenList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export default class DOMTokenList implements IDOMTokenList {
this[i] = list[i];
}

(<number>this.length) = list.length;
this.#length = list.length;
}

/**
Expand Down

0 comments on commit abc3ad4

Please sign in to comment.