{"ScriptPreparationCode":"var firstObject = {\r\n sampleData: \u0027Hello world\u0027\r\n}\r\nvar secondObject2 = {\r\n moreData: \u0027foo bar\u0027\r\n}\r\nvar secondObject3 = {\r\n moreData: \u0027foo bar\u0027\r\n}\r\nvar secondObject4 = {\r\n moreData: \u0027foo bar\u0027\r\n}\r\nvar secondObject5 = {\r\n moreData: \u0027foo bar\u0027\r\n}\r\nvar secondObject6 = {\r\n moreData: \u0027foo bar\u0027\r\n}\r\nvar secondObject7 = {\r\n moreData: \u0027foo bar\u0027\r\n}","TestCases":[{"Name":"Using the spread operator","Code":"const finalObject = {\r\n\t...firstObject,\r\n \t...secondObject2,\r\n \t \t...secondObject3,\r\n \t \t...secondObject4,\r\n \t \t...secondObject5,\r\n \t \t...secondObject6,\r\n \t \t...secondObject7,\r\n\r\n};","IsDeferred":false},{"Name":"Using Object.assign","Code":"const finalObject = Object.assign({}, secondObject2,\r\n \t \tsecondObject3,\r\n \t \tsecondObject4,\r\n \t \tsecondObject5,\r\n \t \tsecondObject6,\r\n \t \tsecondObject7,);","IsDeferred":false}]}