8000 new isArrayLike is faulty · Issue #4751 · angular/angular.js · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
new isArrayLike is faulty #4751
Closed
Closed
@ahoyahoy

Description

@ahoyahoy

If I want to use something like this:

angular.extend(options, {
radius: 30,
length: 0
});

angular returns options = {};
because latest version isArrayLike returns true
new isArrayLike check only length property :/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0