typescript for loop over HTMLCollection. You can convert it to an array if you want to use forEach const elements: Element[] = Array.from(document.
確定! 回上一頁