{"ScriptPreparationCode":"const obj1 = { a: \u0022a\u0022 };\r\nconst obj2 = { b: \u0022b\u0022 };\r\n\r\nwindow.obj1 = obj1;\r\nwindow.obj2 = obj2;\r\n","TestCases":[{"Name":"Using the spread operator","Code":"const finalObject = {\r\n\tc: \u0022a\u0022,\r\n ...obj1,\r\n \t...obj2\r\n};","IsDeferred":false},{"Name":"Using direct assignment","Code":"const finalObject = { c: \u0022a\u0022 }\r\nfinalObject.a = obj1.a\r\nfinalObject.b = obj2.b","IsDeferred":false}]}