Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

update angular.extend() documentation #9087

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,8 @@ function setHashKey(obj, h) {
*
* @description
* Extends the destination object `dst` by copying all of the properties from the `src` object(s)
* to `dst`. You can specify multiple `src` objects.
* to `dst`. You can specify multiple `src` objects. If you want to preserve original objects,
* you can do so by passing an empty object as the target: `var object = angular.extend({}, object1, object2)`.
*
* @param {Object} dst Destination object.
* @param {...Object} src Source object(s).
Expand Down