I have a newbie question regarding arrays and objects. I have an array of objects that I would like to push into another array of objects, but can't seem to get it to work correctly.
For instance, if I have data.list:
data.list=[{
a,
b,
c
}];
and I want to push data.list into another object array called data.overall so that it looks like this:
data.overall=[{
data.list,
z,
y,
x
}];
Sorry, for clarification, I want data.list to still exist as an array within data.overall. I've tried concat, but I keep getting an error in the console saying Server JavaScript error Cannot find function concat in object [object Object].
Thanks!