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.merge() turns regexps into empty objects #12409

Closed
@mondalaci

Description

@mondalaci
var jQueryMerged = $.extend(true, {}, {regexp:/blah/});
var angularMerged = angular.merge({}, {regexp:/blah/});

jQueryMerged.regexp yields /blah/
angularMerged.regexp yields Object {}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions