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.

angular.forEach fails silently when passed 'undefined' reference #9062

Closed
@Trendy

Description

@Trendy

Angular's implementation of forEach fails silently when passed and undefined reference. Example here: http://plnkr.co/3TrVkuC6mLi8pAapIWvn

Native implementations throw a TypeError when the reference is undefined: http://plnkr.co/2KfVwdIuRuno0DWwmV7N

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions