Skip to content

array.any() always returns false if array contains undefined value on "this" #4139

@fwoeck

Description

@fwoeck

In the current 1.4.0-beta.2, this return false:

[this.notset, 1, 2].any(function (o) { return true; })

if this.notset is undefined. This works of course:

[1, 2].any(function (o) { return true; })

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