Skip to content

For...in loops #523

@cwillinx

Description

@cwillinx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions