{"ScriptPreparationCode":null,"TestCases":[{"Name":"lodash","Code":"var a = { a: \u0027oh\u0027, b: \u0027my\u0027, c: { a: \u0027a\u0027, b: { c: \u0027c\u0027 } } };\r\nvar b = { c: { b: { d: \u0027a\u0027 }, c: { d: \u0027d\u0027 } } };\r\nvar c = _.merge({}, a, b);\r\nconst x = {\r\n foo: { bar: 3 },\r\n array: [{\r\n does: \u0027work\u0027,\r\n too: [ 1, 2, 3 ]\r\n }]\r\n}\r\n \r\nconst y = {\r\n foo: { baz: 4 },\r\n quux: 5,\r\n array: [{\r\n does: \u0027work\u0027,\r\n too: [ 4, 5, 6 ]\r\n }, {\r\n really: \u0027yes\u0027\r\n }]\r\n}\r\nvar z = _.merge({}, x, y);","IsDeferred":false},{"Name":"deepmerge","Code":"var a = { a: \u0027oh\u0027, b: \u0027my\u0027, c: { a: \u0027a\u0027, b: { c: \u0027c\u0027 } } };\r\nvar b = { c: { b: { d: \u0027a\u0027 }, c: { d: \u0027d\u0027 } } };\r\nvar c = deepmerge({}, a, b);\r\nconst x = {\r\n foo: { bar: 3 },\r\n array: [{\r\n does: \u0027work\u0027,\r\n too: [ 1, 2, 3 ]\r\n }]\r\n}\r\n \r\nconst y = {\r\n foo: { baz: 4 },\r\n quux: 5,\r\n array: [{\r\n does: \u0027work\u0027,\r\n too: [ 4, 5, 6 ]\r\n }, {\r\n really: \u0027yes\u0027\r\n }]\r\n}\r\nvar z = deepmerge({}, x, y);","IsDeferred":false},{"Name":"deepmerge-ts","Code":"var a = { a: \u0027oh\u0027, b: \u0027my\u0027, c: { a: \u0027a\u0027, b: { c: \u0027c\u0027 } } };\r\nvar b = { c: { b: { d: \u0027a\u0027 }, c: { d: \u0027d\u0027 } } };\r\nvar c = deepmergeTs({}, a, b);\r\nconst x = {\r\n foo: { bar: 3 },\r\n array: [{\r\n does: \u0027work\u0027,\r\n too: [ 1, 2, 3 ]\r\n }]\r\n}\r\n \r\nconst y = {\r\n foo: { baz: 4 },\r\n quux: 5,\r\n array: [{\r\n does: \u0027work\u0027,\r\n too: [ 4, 5, 6 ]\r\n }, {\r\n really: \u0027yes\u0027\r\n }]\r\n}\r\nvar z = deepmergeTs({}, x, y);","IsDeferred":false},{"Name":"ts-deepmerge","Code":"var a = { a: \u0027oh\u0027, b: \u0027my\u0027, c: { a: \u0027a\u0027, b: { c: \u0027c\u0027 } } };\r\nvar b = { c: { b: { d: \u0027a\u0027 }, c: { d: \u0027d\u0027 } } };\r\nvar c = tsDeepmerge({}, a, b);\r\nconst x = {\r\n foo: { bar: 3 },\r\n array: [{\r\n does: \u0027work\u0027,\r\n too: [ 1, 2, 3 ]\r\n }]\r\n}\r\n \r\nconst y = {\r\n foo: { baz: 4 },\r\n quux: 5,\r\n array: [{\r\n does: \u0027work\u0027,\r\n too: [ 4, 5, 6 ]\r\n }, {\r\n really: \u0027yes\u0027\r\n }]\r\n}\r\nvar z = tsDeepmerge({}, x, y);","IsDeferred":false}]}