@MieszkoKowalik
Posted
Hi
I have set a break point in your code and noticed what is the problem. As you are iterating with for in
loop through the nodeList it also access the properites of NodeList prototype and brakes on NodeList.entries
property.
Instead of for in
loop use .forEach
method.
Marked as helpful
@Sergio-Ivan-Melgarejo
Posted
@MieszkoKowalik I am not clear why the problem, but it was solved by not iterating a nodeList. thank you for your help and time.