Closed iniatse closed 4 years ago
this.parentElement = document.getElementById('container'); var obj = deepmerge({ 'chart': { 'renderTo': this.parentElement, }, }, {}) console.log(obj); //{ // 'chart': { // 'renderTo': {} // }, //}
How can I make that my HTMLElement gets not lost during deepmerge?
HTMLElement
deepmerge
Ahh is isMergeableObject the solution?
isMergeableObject
How can I make that my
HTMLElement
gets not lost duringdeepmerge
?