I\'m trying to set get id of all elements in an HTMLCollectionOf. I wrote the following code:
HTMLCollectionOf
var list = document.getElementsByClassName(\"event
if you use oldder varsions of ES, (ES5 for example), you can use as any:
as any
for (let element of elementsToIterate as any) { console.log(element); }