We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68f4cda commit c24c0f6Copy full SHA for c24c0f6
src/Angular.js
@@ -798,6 +798,11 @@ function arrayRemove(array, value) {
798
* and on `destination`) will be ignored.
799
* </div>
800
*
801
+ * <div class="alert alert-warning">
802
+ * `angular.copy` does not check if destination and source are of the same type. It's the
803
+ * developers responsibility to make sure they are compatible.
804
+ * </div>
805
+ *
806
* @param {*} source The source that will be used to make a copy. Can be any type, including
807
* primitives, `null`, and `undefined`.
808
* @param {(Object|Array)=} destination Destination into which the source is copied. If provided,
0 commit comments