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.equals issue with objects containing custom toString methods. #10425

@jdalton

Description

@jdalton
angular.equals({}, { 'toString': function() { return 'custom'; } });
// => true (expected false)

I think this is due to the isFunction check in.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions