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

This commit is contained in:
Bjarne Fyrstenborg
2020-07-27 21:12:55 +02:00
committed by Sebastiaan Janssen
parent 143f0c04a3
commit eff630d3a0

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