Added comments.

This commit is contained in:
RameshChoudhary 2016-03-24 04:55:02 +05:30
parent ac35cb0f91
commit f68bdadae9
1 changed files with 1 additions and 0 deletions

View File

@ -291,6 +291,7 @@ function mergeArrays(target, config, keyPrefix) {
function mergeArraysDiffLength(target, config) {
var newTarget = _.cloneDeep(target, true);
//modifies the target array with the union of both the target and config arrays.
Array.prototype.splice.apply(target, [0, target.length].concat(_.union(newTarget, config)));
}