{"ScriptPreparationCode":"function themeMerge(target, source) {\r\n function isObject(item) {\r\n return item \u0026\u0026 typeof item === \u0027object\u0027 \u0026\u0026 !Array.isArray(item)\r\n }\r\n\r\n let output = Object.assign({}, target)\r\n if (isObject(target) \u0026\u0026 isObject(source)) {\r\n Object.keys(source).forEach(key =\u003E {\r\n if (isObject(source[key])) {\r\n if (!(key in target)) Object.assign(output, { [key]: source[key] })\r\n else output[key] = themeMerge(target[key], source[key])\r\n } else {\r\n Object.assign(output, { [key]: source[key] })\r\n }\r\n })\r\n }\r\n return output\r\n}","TestCases":[{"Name":"Lodash","Code":"var a = { a: \u0027oh\u0027, b: \u0027my\u0027 };\r\nvar b = { c: \u0027goddess\u0027 };\r\nvar c = _.merge(a, b);","IsDeferred":false},{"Name":"Me","Code":"var a = { a: \u0027oh\u0027, b: \u0027my\u0027 };\r\nvar b = { c: \u0027goddess\u0027 };\r\nvar c = themeMerge(a, b);","IsDeferred":false}]}