Skip to content

Doesn't work with custom array prototype extensions. #32

Description

@drunkhacker

If 'Array' type is extended like below, enumeration using for (var i in ...) doesn't work as expected.

Array.prototype.foo = function() { console.log("hi"); }
a = [1,2,3,4,5];
for (var i in a) {
  console.log(i); //foo will be enumerated
}

This causes invalid regular expression error in validate_phone_iso3166 function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions