Example:
this.themes.basic = {
background: "black",
specialThings: {
border: "1px
}
}
this.themeObj: {
background: "black",
specialThings: {}
}
I need a function that scans this.themeObj and replaces missing values with the value of this.themes.basic. It also should scan child's of the Object. PS: pls don't use eval if it is possible
Thanks