{"ScriptPreparationCode":null,"TestCases":[{"Name":"Object.assign","Code":"const baseObj = {\r\n\ta: \u0027test\u0027,\r\n\tb: \u0027rawr\u0027,\r\n\tc: \u0027foo\u0027,\r\n\td: {\r\n\t\ta: \u0027one\u0027,\r\n\t\tb: \u0027two\u0027,\r\n\t\tc: {\r\n\t\t\ta: \u0027three\u0027\r\n\t\t}\r\n\t}\r\n};\r\n\r\nconst newObj = {\r\n name: \u0027Test\u0027\r\n};\r\n\r\nObject.assign(baseObj, newObj);","IsDeferred":false},{"Name":"Spread operator","Code":"const baseObj = {\r\n\ta: \u0027test\u0027,\r\n\tb: \u0027rawr\u0027,\r\n\tc: \u0027foo\u0027,\r\n\td: {\r\n\t\ta: \u0027one\u0027,\r\n\t\tb: \u0027two\u0027,\r\n\t\tc: {\r\n\t\t\ta: \u0027three\u0027\r\n\t\t}\r\n\t}\r\n};\r\n\r\nconst newObj = {\r\n name: \u0027Test\u0027\r\n};\r\n\r\nconst result = {\r\n ...baseObj,\r\n ...newObj\r\n};","IsDeferred":false}]}