Ensure replacement of angular.copy still works where second parameter is used for destination object.

(cherry picked from commit eff630d3a0)
This commit is contained in:
Bjarne Fyrstenborg
2020-07-27 21:12:55 +02:00
committed by Sebastiaan Janssen
parent 940e47141e
commit ca4f7bf41d

View File

@@ -18,7 +18,7 @@
/**
* Facade to angular.copy
*/
const copy = val => angular.copy(val);
const copy = (src, dst) => angular.copy(src, dst);
/**
* Equivalent to angular.isArray