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.copy() doesn't strip $$hashKey #1875

Closed
@zivester

Description

@zivester

angular.copy({ name: "DEF", $$hashKey: "089" });
=> Object { name= "DEF", $$hashKey= "089" }

I believe it is suppose to strip out $$hashKey, like:

angular.fromJson(angular.toJson({ name: "DEF", $$hashKey: "089" }));
=> Object { name= "DEF" }

Why aren't the two equivalent?

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