In the code two times a for...in loop is used.
For...in also iterates over additional properties added to the array prototype.
I had an issue with this when using Micromodal in a 3rd party contect, where the array prototype got additional functions added. This let to a complete failure of the code.
In the code two times a
for...inloop is used.For...in also iterates over additional properties added to the array prototype.
I had an issue with this when using Micromodal in a 3rd party contect, where the array prototype got additional functions added. This let to a complete failure of the code.