I have
existingAssignments = {};
I want to merge these 2 sources into existingAssignments
var seriesSrc =
{
"valueName": this.model.Series,
"variableName": "Defaults.Series"
};
var styleSrc =
{
"valueName": this.model.Style,
"variableName": "Defaults.Line_Header.Style"
};
I'm trying to get it to look like:
existingAssignments [{
"valueName": this.model.Series,
"variableName": "Defaults.Series"
},{
"valueName": this.model.Style,
"variableName": "Defaults.Line_Header.Style"
}]
Anything available similar to angular.merge?
--
You received this message because you are subscribed to the Google Groups
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.