when I ran the following code, I was surprised by the result
const target = {}
deepExtend(
target,
{
series: [{ center: [1, 2], other: 1, dif: 2 }]
},
{ series: [{ center: [3, 4] }] }
)
console.log(target, 'reuslt')
this outputs {"series":[{"center":[3,4]}]}.
Shouldn't the correct result be {"series":[{"center":[3,4],"other": 1,"dif": 2}]}?